• Overview
@angular/common

getLocaleCurrencyName

function
deprecated

Retrieves the name of the currency for the main country corresponding to a given locale. For example, 'US Dollar' for en-US.

Deprecation warning

Use the Intl API to format a currency with from currency code

API

function getLocaleCurrencyName(locale: string): string | null;
Jump to details