Problem 6

//6. Format a number to use a specific number of decimal places, as for
money: 2.1 → 2.10