Skip to content

Measurement
@localizer/format 1.0.1

unit ( value: number | bigint , unit: Unit )

  • value - The measurement to format. Can be a Number or a BigInt.
  • unit - The measurement unit, a valid ECMA-402 unit identifier.

This formatter provides locale-aware formatting for measurement values, ensuring consistent and culturally appropriate representation.

Examples: