Function 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.