Skip to main content

integer_part

Function integer_part 

Source
pub fn integer_part(
    v: &RuntimeValue,
    mode: Rounding,
    recurse: &dyn Fn(RuntimeValue) -> Result<RuntimeValue, String>,
) -> Option<Result<RuntimeValue, String>>
Expand description

The integer part of an exact value under mode; None when v is not one.