function
Retrieves the name of the currency for the main country corresponding to a given locale. For example, 'US Dollar' for en-US
.
getLocaleCurrencyName(locale: string): string | null
locale | string | A locale code for the locale format rules to use. |
string | null
: The currency name, or null
if the main country cannot be determined.
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/common/getLocaleCurrencyName