MCPcopy Index your code
hub / github.com/angular/angular / getLocaleNumberFormat

Function getLocaleNumberFormat

packages/common/src/i18n/locale_data_api.ts:526–529  ·  view source on GitHub ↗
(locale: string, type: NumberFormatStyle)

Source from the content-addressed store, hash-verified

524 * Let `Intl.NumberFormat` determine the number format instead
525 */
526export function getLocaleNumberFormat(locale: string, type: NumberFormatStyle): string {
527 const data = ɵfindLocaleData(locale);
528 return data[ɵLocaleDataIndex.NumberFormats][type];
529}
530
531/**
532 * Retrieves the symbol used to represent the currency for the main country

Callers 3

formatCurrencyFunction · 0.90
formatPercentFunction · 0.90
formatNumberFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…