Rename float conversion function to safe_float