Skip to main content

require_number

Function require_number 

Source
pub fn require_number(nb: &ValueWord) -> Result<f64, VMError>
Expand description

Extract a number (f64 or i64 coerced to f64) from a ValueWord, or return a type error.