Skip to content

Decimal range
@localizer/format 1.0.1

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

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

Both arguments can be either a Number or a BigInt.

This formatter handles numerical ranges, ensuring that both the start and end values are formatted according to locale-specific conventions.

Examples: