Function endbasic_core::value::double_to_integer

source ยท
pub fn double_to_integer(d: f64) -> Result<i32>
Expand description

Converts the double d to an integer and fails if the conversion is not possible.