lua-users home
lua-l archive

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


> That's hardly an excuse for not having a round function.

No excuses are needed. Lua's philosophy is minimalist. Since Lua libraries
are easily extended either in C or in Lua, you can simply add a math.round
function that suits you.