getNumberOfCurrencyDigits
function
Deprecated
Reports the number of decimal digits for a given currency. The value depends upon the presence of cents in that particular currency.
API
function getNumberOfCurrencyDigits( code: string): number;
getNumberOfCurrencyDigits
number
Reports the number of decimal digits for a given currency. The value depends upon the presence of cents in that particular currency.
@paramcode
string
The currency code.
@returns
number
Jump to details