Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Talk to us
Currencies

Decimal places, per currency, never hardcoded.

Money is stored as integer minor units, and the number of decimals belongs to the currency. It’s ISO 4217’s minor-unit exponent. Each page below covers one code: the integer a typed amount becomes, how it renders in a statement and a split that sums exactly. All of it is computed by the functions the Money component runs.

No minor unit

2 decimal places

CodeCurrency1 unit =Intl digits
AUDAustralian Dollar decimal places100 minor2
BRLBrazilian Real decimal places100 minor2
CADCanadian Dollar decimal places100 minor2
CHFSwiss Franc decimal places100 minor2
CZKCzech Koruna decimal places100 minor2
DKKDanish Krone decimal places100 minor2
EUREuro decimal places100 minor2
GBPBritish Pound decimal places100 minor2
HKDHong Kong Dollar decimal places100 minor2
INRIndian Rupee decimal places100 minor2
MXNMexican Peso decimal places100 minor2
NOKNorwegian Krone decimal places100 minor2
NZDNew Zealand Dollar decimal places100 minor2
PLNPolish Zloty decimal places100 minor2
SEKSwedish Krona decimal places100 minor2
SGDSingapore Dollar decimal places100 minor2
USDUS Dollar decimal places100 minor2
ZARSouth African Rand decimal places100 minor2
AFNAfghan Afghani decimal places100 minor0 ≠
ALLAlbanian Lek decimal places100 minor0 ≠
COPColombian Peso decimal places100 minor0 ≠
HUFHungarian Forint decimal places100 minor0 ≠
IDRIndonesian Rupiah decimal places100 minor0 ≠
IRRIranian Rial decimal places100 minor0 ≠
KPWNorth Korean Won decimal places100 minor0 ≠
LAKLaotian Kip decimal places100 minor0 ≠
LBPLebanese Pound decimal places100 minor0 ≠
MGAMalagasy Ariary decimal places100 minor0 ≠
MMKMyanmar Kyat decimal places100 minor0 ≠
PKRPakistani Rupee decimal places100 minor0 ≠
SLLSierra Leonean Leone (1964—2022) decimal places100 minor0 ≠
SOSSomali Shilling decimal places100 minor0 ≠
SYPSyrian Pound decimal places100 minor0 ≠
YERYemeni Rial decimal places100 minor0 ≠

3 decimal places

4 decimal places

“Intl digits” is what Intl.NumberFormat reports on the runtime that built this page. Where it is marked ≠, it is CLDR’s display precision rather than the storage exponent, and the library overrides it. Why this matters is in Numerics.