Skip to main content

write_real

Function write_real 

Source
pub fn write_real(value: f64, out: &mut Vec<u8>)
Expand description

Writes a real number in plain decimal: no exponent, trailing zeros trimmed, -0 normalized to 0, non-finite values written as 0. Whole values write as integers (72 not 72.0).