Added decimal point function.