I had an object expression that was doing unexpected thing, so I setup a simple mouseover/text object to check what its angle was ingame.
To my surprise even though I have an object set at 270 deg, it gives a floating point value of 269.9997895409 and one set at 90 deg and the value in game is 90.0002104591.
Is this expected behaviour, maybe something to do with radians to degrees conversion under the hood? even when I set an explicit value to an integer in game or use the round function, this still happens...except for 0 which remains 0.
Oh yeah... I had forgotten about the debugger (which is awesome btw) and confirmed the same thing. Addtionally many position values are also floats. Btw, these are object that are not animated, just moved or rotated by integer values in the layout.
Not sure what the implications of this are? If I am testing an object for an exact integer value of 270 and it is actually 269.9997895409, does C2 round it automatically?