The number to round.
The number of decimal places to round to.
The base to use for rounding. Defaults to 10 if not provided.
The rounded number.
toFixedNumber(3.14159, 2); // Returns 3.14
toFixedNumber(2.71828, 3, 2); // Returns 2.75
Generated using TypeDoc
Rounds a number to a specified number of decimal places using a specified base.