Okay. So int x float = float, but int + float = ERROR.
Gotcha. Thanks. :)
Is that how it works in Blitz3D, too?
works almost the same it blitz3d and C++.
I made a table on float and int :)
int + float = a nice new float
int=float ' =possible loss of data
therefore int=int+float ' =loss of data probably!
a:int = c:float 'loss of data after c's decimal
d:float = c:float 'fine
a:int = b:int * c:float 'loss of data after the result's decimal
d:float = b:int * c:float 'fine
a:int = b:int + c:float 'loss of data after the result's decimal
d:float = b:int + c:float 'fine