Skip to main content

integer_of

Function integer_of 

Source
pub fn integer_of<F>(t: impl Tolerant, v: F) -> Option<i64>
where F: Float,
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.