formatPercent
function
stable
Formats a number as a percentage according to locale rules.
API
function formatPercent(
value: number,
locale: string,
digitsInfo?: string | undefined,
): string;Jump to details
Formats a number as a percentage according to locale rules.
function formatPercent(
value: number,
locale: string,
digitsInfo?: string | undefined,
): string;