@angular/common

formatPercent

function

Formats a number as a percentage according to locale rules.

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