lua-users home
lua-l archive

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

On Wed, Apr 23, 2008 at 3:47 PM, Enrico Colombini <> wrote:
Bogdan Marinescu wrote:
Maybe because just about any decent math library out there has one ?

You also have to define which type of rounding you need, and that depends on the application. Not everyone needs math.floor(n + 0.5).


That's hardly an excuse for not having a round function. Besides, I'm willing to bet that lots of people are fine with math.floor(n + 0.5) and <math.h> in general.