What is the best way of determining if a given float(or double) has no significant decimal places.
f(234.0) = true f(34.45) = false f(3.1322) = false
i.e. equivalent of
EQ(((int)number) * 1.0 , number)
where EQ is a given method to compare floating points and it is OK to assume that the float fits in an integer.