getLocaleCurrencySymbol

The symbol used to represent the currency for the main country using this locale (e.g. $ for the locale en-US). The symbol will be null if the main country cannot be determined.

getLocaleCurrencySymbol(locale: string): string | null

参数

locale

Type: string.

返回值

string | null