Skip to content

Percentage range
@localizer/format 1.0.1

percentRange ( start: number | bigint , end: number | bigint )

  • start - Start of the range (lower bound).
  • end - End of the range (upper bound).

Both arguments can be provided as either a Number or a BigInt. These values represent fractions of a whole, where 1.0 corresponds to 100%.

This formatter formats percentage ranges with locale-aware representation, ensuring consistency and cultural appropriateness.

Examples: