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

getLocaleCurrencyCode

Retrieves the default currency code for the given locale.

查看"说明"...

getLocaleCurrencyCode(locale: string): string | null
      
      getLocaleCurrencyCode(locale: string): string | null
    
参数
locale string

The code of the locale whose currency code we want.

返回值

string | null: The code of the default currency for the given locale.

说明

The default is defined as the first currency which is still in use.