getNumberOfCurrencyDigits

function

Returns the number of decimal digits for the given currency. Its value depends upon the presence of cents in that particular currency.

getNumberOfCurrencyDigits(code: string): number

Parameters

code

Type: string.

Returns

number

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/common/getNumberOfCurrencyDigits