docs/vendor.js
function getNumberOfCurrencyDigits(code) {
    var digits;
    var currency = CURRENCIES_EN[code];
    if (currency) {
        digits = currency[2 /* NbOfDigits */];
    }
    return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;
}
function getNumberOfCurrencyDigits(code) {
    var digits;
    var currency = CURRENCIES_EN[code];
    if (currency) {
        digits = currency[2 /* NbOfDigits */];
    }
    return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;
}
function getNumberOfCurrencyDigits ( code ) { var digits ; var currency = CURRENCIES_EN [ code ] ; if ( currency ) { digits = currency [ 2 /* NbOfDigits */ ] ; } return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS ; }
Returns the number of decimal digits for the given currency.
Its value depends upon the presence of cents in that particular currency.

@experimental i18n support is experimental.
Returns the number of decimal digits for the given currency . Its value depends upon the presence of cents in that particular currency .