Relative decimal @localizer/format-number 1.0.1
relativeDecimalFormatter<
T
> (options?
): RelativeValueFormatter<T
>
T
extends number | bigint - The type of value to format.options
- Optional configuration of the formatter.
This formatter provides a flexible, locale-aware way to represent absolute changes in relative values.
TIP
If you prefer to use default settings, consider using a preconfigured relative decimal formatter. It simplifies the process by providing a ready-to-use configuration for common use cases.