currencyDecimals
currencyDecimals(
code,overrides?):number
How many decimals a currency’s minor unit has. Some services depart from ISO for a
currency (Stripe sends Icelandic krónur in hundredths), so take overrides from them.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
code |
string |
overrides? |
Readonly<Record<string, number>> |
Returns
Section titled “Returns”number