pub fn format_float(f: f64) -> String
Formats a float the way Catallaxy prints it: always with a decimal point or exponent.