error checking for float conversion