more_horiz
@angular/commoncode
getLocaleNumberSymbol
function
deprecatedsince v18
Retrieves a localized number symbol that can be used to replace placeholders in number formats.
NumberSymbolInternationalization (i18n) GuideOn this page
API
function getLocaleNumberSymbol(locale: string, symbol: NumberSymbol): string;@paramlocale
stringThe locale code.
@returns
stringThe character for the localized symbol.
Jump to details