Decimal @localizer/format-number 1.0.1
decimalFormatter<
T
> (options?
): ValueFormatter<T
>
T
extends number | bigint - The type of value to format.options
- Optional configuration of the formatter.
This formatter provides locale-aware formatting for integers and fractional numbers.
TIP
If you prefer to use default settings, consider using a preconfigured decimal formatter. It simplifies the process by providing a ready-to-use configuration for common use cases.