angular / 11.2.14 / api / common / getlocalenumbersymbol.html /

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