Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

getLocaleCurrencySymbol

Retrieves the symbol used to represent the currency for the main country corresponding to a given locale. For example, '$' for en-US.

      
      getLocaleCurrencySymbol(locale: string): string | null
    
Parameters
locale string

A locale code for the locale format rules to use.

Returns

string | null: The localized symbol character, or null if the main country cannot be determined.

See also