Skip to content

basalt / subscriptions/src / currencyDecimals

Function: currencyDecimals() ​

> currencyDecimals(currency): number

Defined in: subscriptions/src/money.ts:38

Number of minor-unit decimal places for a currency (default 2).

Parameters ​

currency ​

string

Returns ​

number

Released under the MIT License.