填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

getNumberOfCurrencyDigits

Reports the number of decimal digits for a given currency. The value depends upon the presence of cents in that particular currency.

getNumberOfCurrencyDigits(code: string): number
      
      getNumberOfCurrencyDigits(code: string): number
    
参数
code string

The currency code.

返回值

number: The number of decimal digits, typically 0 or 2.

参见