Formats a number with fixed decimals.
Group: Number
number.toFixed(digits)
← All of JavaScript Reference