I have a counter that's incremented by 0.05 every update and wanted to perform some work when the the value rounds up to a whole number, e.g. 3. I noticed this code never executed. After some more investigation I discovered that 20 * .05 does not equal 1.0 but rather 0.9998.
Is this a known issue? Here's an example:







2 comments