changes float to decimal