lua-users home
lua-l archive

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


>I have fond one "inconsequence" in lua-5 standard math library
>There is math.mod but no math.div

Because there isn't one in ANSI C.

>another problem is lack of math.int().

Try math.floor or math.ceil.
--lhf