Returns a string representing a number in fixed-point notation, rounded to the specified number of digits after the decimal point.
toFixed(fractionDigits?)
fractionDigits optional
Number of digits after the decimal point. Must be in the range from 0 to 100, inclusive. If omitted, 0 is used.
A string.
(12345.6789).toFixed()
"12346"
(12345.6789).toFixed(2)
"12345.68"