Skip to main content

get_float

Function get_float 

Source
pub fn get_float(m: &HashMap<String, Value>, key: &str) -> Result<f64, String>
Expand description

Extracts a 64-bit float parameter value from the arguments map.

Returns Err if the key is missing or not a Number.