
29 Sep
2009
29 Sep
'09
3:23 a.m.
On Tue, Sep 29, 2009 at 9:13 AM, Magicloud Magiclouds
The properFaction part is correct. So I posted the whole code, since "isInteger" should accept any reasonable incoming types. Well, in this one situation, it does not. And I cannot figure out why....
Floating point gives a lot of small errors, so maybe you shouldn't test your fractional part to be = 0, but you should test it to be close enough.