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.

getLocaleNumberSymbol

Retrieves a localized number symbol that can be used to replace placeholders in number formats.

      
      getLocaleNumberSymbol(locale: string, symbol: NumberSymbol): string
    
Parameters
locale string

The locale code.

symbol NumberSymbol

The symbol to localize. Must be one of NumberSymbol.

Returns

string: The character for the localized symbol.

See also