getLocaleCurrencyCode
function
Deprecated
Retrieves the default currency code for the given locale.
API
Description
function getLocaleCurrencyCode( locale: string): string | null;
getLocaleCurrencyCode
string | null
Retrieves the default currency code for the given locale.
The default is defined as the first currency which is still in use.
@paramlocale
string
The code of the locale whose currency code we want.
@returns
string | null
Jump to details