pub fn float(number: f64) -> Result<Value, Error>Expand description
A Float, as the shortest text that reads back as the same f64. Rust’s own shortest text is used, with .0 put
in where it has no point, as in 1.0e300, and a zero is written as 0.0, since there is no negative zero. A value
that is not finite has no text yet, and is an error.