@angular/common

formatNumber

function

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

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