[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Suggestion: math.between()
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Mon, 21 Jun 2010 19:13:07 -0500
function math.mean(...)
local argc=select("#",...)
local total=0
for i=1,argc do
total=total+(select(i,...))
end
return total/argc
end
- Jeff