This should be simple but it won't work for me. I have a float that goes from 0.0 up to x.x. But when it goes to 1.0 and 2.0, I need to do something. I do a CCLOG now to see if it make it but it is never called.
I tried fmod and even (ceil(num) == floor(num)) but it never prints even though I see the number incrementing. Any ideas? I feel dumb.