pub fn parse_float(val: &Value) -> Option<f64>
Expand description
Attempt to parse a value into a float.
The implementation should match https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat as closely as is reasonable.