Thread
:
Floating point in C
View Single Post
DaWei
Team Leader
15Jun2007,02:18
Code:
float f = whatever; if (fmod (f, floor (f)) == 0) // f is a whole number ...