• Overview
@angular/common

getLocaleNumberSymbol

function
deprecatedsince v18

Retrieves a localized number symbol that can be used to replace placeholders in number formats.

Deprecation warning

Angular recommends relying on the Intl API for i18n. Use Intl.NumberFormat to format numbers instead.

API

function getLocaleNumberSymbol(locale: string, symbol: NumberSymbol): string;
Jump to details