• Overview
@angular/common

formatNumber

function
stable

Formats a number as text, with group sizing, separator, and other parameters based on the locale.

API

function formatNumber(  value: number,  locale: string,  digitsInfo?: string | undefined,): string;

Description

Formats a number as text, with group sizing, separator, and other parameters based on the locale.


Exported by

Jump to details