Format for teh appropriate number of decimal places