lua-users home
lua-l archive

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


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).

  Enrico