Can i declare a luna variable as integer like in C? I thought that the script interprets all values as float
Well that was enlighting. Thanks!
You can't declare integer, but you can operate with variables like with integers using regular arithmetic operators: + - * % except /
Lua has special floor division operator // for such cases. The result of x = a // b is always integer value.