Decimal range @localizer/format-number 1.0.1
decimalRangeFormatter<
T
> (options?
): ValueRangeFormatter<T
>
T
extends number | bigint - The type of value to format.options
- Optional configuration of the formatter.
This formatter displays number ranges, including integers and decimals, in a locale-sensitive way.
TIP
If you prefer to use default settings, consider using a preconfigured decimal range formatter. It simplifies the process by providing a ready-to-use configuration for common use cases.