Added format a number to use a specific number of decimal places as for money.