pub fn format_float(dval: f64, digits: i32, pm_flags: u32) -> String
Format a float value for output (from params.c convfloat)