yyjson_get_num

Function yyjson_get_num 

Source
pub unsafe extern "C" fn yyjson_get_num(val: *mut yyjson_val) -> f64
Expand description

Returns the content and typecast to double if the value is number. Returns 0.0 if val is NULL or type is not number(uint/sint/real).