Skip to main content

py_float

Function py_float 

Source
pub fn py_float(v: f64) -> Value
Expand description

Wrap a float the way Python’s json module would write it: an ordinary number when finite, a bare token when not.