fn format_f64(v: f64) -> String
Format an f64 for use as a label value, matching Prometheus conventions.