Course · Section 12: Numbers, Dates, Intl and Timers · Lecture 182: Math and Rounding
Implement `toMoney(n)` returning `n` formatted with exactly two decimal places as a string.
+ 1 hidden test run on Submit.
toFixed(2) formats the number to two decimal places as a string.
Run your code to see results.