getLocaleCurrencySymbol
function
Deprecated
Retrieves the symbol used to represent the currency for the main country
corresponding to a given locale. For example, '$' for en-US
.
API
function getLocaleCurrencySymbol( locale: string): string | null;
getLocaleCurrencySymbol
string | null
Retrieves the symbol used to represent the currency for the main country
corresponding to a given locale. For example, '$' for en-US
.
@paramlocale
string
A locale code for the locale format rules to use.
@returns
string | null
Jump to details