Formatter options
Formatter options let you customize number formatting to suit your needs. They include:
- Digit options: Control precision and rounding.
- Presentation options: Adjust visual formatting.
- Unit and currency options: Format units and currencies.
NOTE
Most of these options are derived from the Intl.NumberFormat
API, which provides a robust way to format numbers in JavaScript based on locale and formatting preferences.