Options to apply to the formatter, including locale
Format a number value according to locale standards
The value to format. Numbers larger than 15 digits should be passed as a string to maintain precision.
The formatted number
Format a number value, separated into its individual parts
The value to format
An ordered array of objects representing the parts of the formatted number, each with a type and value
Get group and decimal separators for the locale
an object containing group and decimal separators
Parse a formatted value into a primitive number
The formatted value to be parsed
A parsed, primitive number without formatting
Generated using TypeDoc
Options to apply to the formatter, including locale