Can someone explain why the display object coordinates does this? When you set a number for an object’s coordinates, the number changes to something else.
It kept causing a bug in my code and took extremely long to find T_T. Can someone please explain why the coordinate changes on its own?
CODE:
local number = 0.1 player = display.newRect( number, 100, 100, 100 ) print(player.x, number)
CONSOLE:
0.10000000149012 0.1
Is this a glitch???