View Single Post
Team Leader
15Jun2007,02:18  
DaWei's Avatar
Code:
float f = whatever;
if (fmod (f, floor (f)) == 0)
    // f is a whole number
...