getLocaleNumberSymbol

function

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.

Returns

string: The character for the localized symbol.

See also

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/common/getLocaleNumberSymbol