Create a significant figure format function.
A new significant figure format function.
This formatter uses the builtin Number() and toPrecision() to coerce values.
Number()
toPrecision()
The formatIntlNumber() formatter is more flexible, but slower.
formatIntlNumber()
The options for creating the format function.
Generated using TypeDoc
Create a significant figure format function.
Returns
A new significant figure format function.
Notes
This formatter uses the builtin
Number()andtoPrecision()to coerce values.The
formatIntlNumber()formatter is more flexible, but slower.