Added first number function: Format a number to use a specific number of decimal places.