Skip to main content

integer_of

Function integer_of 

Source
pub fn integer_of<F: Float>(t: impl Tolerant, v: F) -> Option<i64>
Expand description

v as an integer, where it is exactly whole and below integer_limit::<F>(t) in magnitude, so that integers compare with it as with that integer.