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
Jump to details
Reports the number of decimal digits for a given currency. The value depends upon the presence of cents in that particular currency.
Deprecation warning
Angular recommends relying on the Intl API for i18n.
This function should not be used anymore. Let Intl.NumberFormat determine the number of digits to display for the currency