Converts a number (or string) to a fixed-point format with specified precision.
The formatted number as a string.
The number or string to be formatted.
The number of digits after the decimal point (default is 6).
Flag to indicate if trailing zeros after the decimal point should be removed (default is true).
Generated using TypeDoc
Converts a number (or string) to a fixed-point format with specified precision.
Returns
The formatted number as a string.