W3cubDocs

/Angular 12

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://v12.angular.io/api/common/getLocaleNumberSymbol