Skip to main content

real

Function real 

Source
pub fn real(r: f64) -> String
Expand description

r as a Part 21 real, which needs a decimal point and an upper-case exponent: 1.0, -0.25, 1.5E-7. Written as the shortest text that reads back to exactly r.