[all components][i18n] Export formatNumber utilities
Open
component: number field
i18n
scope: all components
type: new feature
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 543
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 101
Description
# Feature request
## Summary
`formatNumber` utilities should be exported. Whilst the user can write their own format function, exporting these utilities ensure that number formatting works exactly like `NumberInput` and users benefit from some niceties such as formatter caching.
## Examples in other libraries
N/A
## Motivation
This is useful for when users need to display number input values in a separate "review" section.
Contributor guide
Assessment
This issue has not been assessed yet.