Skip to content
faker.tools
All 79

Plate III · Financial, E-Commerce & Retail Stubs

Price & Currency Generator

Prices in ten currencies with charm endings, discounts and minor units.

#CurrencyPriceDiscountSale Price
1EUR€815.4940%€489.29
2GBP£236.9520%£189.56
3USD$668.990%$668.99
4GBP£72.9525%£54.71
5GBP£166.4925%£124.87
6EUR€308.9550%€154.47
7USD$253.9525%$190.46
8EUR€457.950%€457.95
9USD$326.9910%$294.29
10GBP£384.9940%£230.99
10 rows · 565 BGenerated in your browser · Price & Currency Generator

Payment APIs want integers in minor units — 1099 for €10.99 — and half of all currency bugs come from converting between that and a display string. This generates both, side by side, so you can check the round trip.

What you can control

  • Three ending styles: charm pricing, round numbers, or exact two-decimal values.
  • Minor units are computed correctly per currency, including yen, which has no minor unit at all.
  • Discount percentages come with the resulting sale price, for testing strike-through pricing.
  • Ten currencies with correct symbols and placement.

What this is not

Conversion between currencies uses fixed indicative rates rather than live ones. Use them for shaping data, never for anything a customer will pay.

Questions

What are minor units?

The smallest unit of a currency, expressed as an integer — cents for dollars, pence for pounds. Payment APIs use them because integers cannot lose precision the way floats can.

Why does JPY have no decimals?

The yen has no minor unit. A hard-coded multiply-by-100 breaks on it, which is why it is worth having in a test batch.

Are the exchange rates current?

No. They are fixed indicative rates for shaping plausible data, and they will drift from the real ones.

Next in Finance

All 11