Skip to main content

is_integral

Function is_integral 

Source
pub fn is_integral(value: f64) -> bool
Expand description

Whether a value is an integer.

Exact comparison is intended: the question is whether there is any fractional part.