Skip to content

Relative percent
@localizer/format-number 1.0.1

relativePercentFormatter<T> ( options? ): RelativeValueFormatter<T>

This formatter displays relative value changes as percentages, adapting to the user's locale.

TIP

If you prefer to use default settings, consider using a preconfigured relative percent formatter. It simplifies the process by providing a ready-to-use configuration for common use cases.