Removed some problematic and unnecessary code from float converter