Skip to main content

encode_f64

Function encode_f64 

Source
pub fn encode_f64(n: f64, out: &mut String)
Expand description

Write a canonical-JSON f64 following the Ratify integer-valued rule: whole-number f64s emit as shortest decimal integer; others as-is.