I seem to get a very weird result on FMOD/MOD operation which does not happen always. I'm using this line of code :
ModValueY = FMOD(InGame_CurrentY + InGame_BallY - InGame_BallYShift,32)
And the screenshot you see, from left to right, are the values ModValueY (32), InGame_CurrentY (-48), InGame_BallY (144) and InGame_BallYShift (0). The FMOD/MOD result should be 0 where it's 32 in this example and I get even weirder results such as 1.2356....-e04 or something.
To make sure, I even recalculate the ModValueY just before the line I print this into the screen so none of the calculation values has changed since I did FMOD and even weirder, there should be no 32 as a result.
Anybody has any idea?
Özden
[attachment deleted by admin]