Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

getLocaleCurrencyName

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
    
Parameters
locale string

A locale code for the locale format rules to use.

Returns

string | null: The currency name, or null if the main country cannot be determined.

See also