Visitar URL original
formatPercent • Angular
The Wayback Machine - https://web.archive.org/web/20260422181037/https://angular.dev/api/common/formatPercent
    • Overview
@angular/common

formatPercent

function
stable

Formats a number as a percentage according to locale rules.

API

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

Description

Formats a number as a percentage according to locale rules.


Exported by

Jump to details