lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Is there a plain Lua way to determine that given positive number is
> integer faster than doing something like a == math.floor(a)?

Try a%1 == 0.