On Wed, Apr 23, 2008 at 3:58 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> 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.
Of course. But then again, Lua does provide a math library. So a 'round' function would fit quite nicely in there :)