getNumberOfCurrencyDigits
function
deprecatedsince v18
Reports the number of decimal digits for a given currency. The value depends upon the presence of cents in that particular currency.
Deprecation warning
@paramcode
stringThe currency code.
@returns
numberThe number of decimal digits, typically 0 or 2.
Jump to details