@angular/common

formatPercent

function

Formats a number as a percentage according to locale rules.

  
    formatPercent(  value: number,  locale: string,  digitsInfo?: string): string;
  
  
Jump to details