lua-users home
lua-l archive

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


> Why math.random(0) is an error?

math.random(x) is defined to be a random integer between 1 and x.
What would you like math.random(0) to mean?
--lhf