pub fn format_prometheus_float(value: f64) -> String
Formats a floating-point value for the Prometheus HTTP API.