pub(crate) fn fmt_f64(v: f64) -> String
Format an f64 as a Rust literal, with .0 suffix on whole numbers.
.0