@angular/common

formatCurrency

function

Formats a number as currency using locale rules.

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