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–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/common/getLocaleNumberSymbol