Added floating to decimal places conversion math function.