Function phoenix_lang::utils::to_float

source ·
pub fn to_float(arg: &Value) -> Result<f32, String>
Expand description

Convert arg to a float and do some error checks (without casting)