@angular/common

formatCurrency

function

Formats a number as currency using locale rules.

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