Skip to main content

number_value

Function number_value 

Source
pub fn number_value(value: f64) -> Value
Expand description

A float as JSON, the way JavaScript would print it: a whole number within i64 is an integer (and -0 is 0), anything else a float.