Help Angular by taking a 1 minute survey!Go to surveyHome

getLocaleNumberSymbol

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

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

The locale code.

symbol NumberSymbol

The symbol to localize.

Returns

string: The character for the localized symbol.

See also