Skip to main content

f64_text

Function f64_text 

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

The shortest decimal that parses back to v: plain notation over the magnitudes people read as plain numbers, exponent notation outside them. NaN, the infinities and negative zero are spelled out rather than lost.