lua-users home
lua-l archive

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


Hello,
I have fond one "inconsequence" in lua-5 standard math library
There is math.mod but no math.div
how about this one?:
	x,y = math.div(a,b)
eg:
	math.div(4,3) should give 1,1

another problem is lack of math.int().

Regards,
Andrzej Borsuk
	
--
     _
    (;[   SPAM?
   \/>)   Proszę wysyłać na moje podstawowe konto
  `ab~^   mailto:root@localhost