Skip to main content

fmt_f64

Function fmt_f64 

Source
pub(crate) fn fmt_f64(v: f64) -> String
Expand description

Format an f64 as a Rust literal, with .0 suffix on whole numbers.