@angular/common

formatCurrency

function

Formats a number as currency using locale rules.

  
    function formatCurrency(  value: number,  locale: string,  currency: string,  currencyCode?: string,  digitsInfo?: string): string;
  
  
Jump to details