more useful options | |
PerlMonks |
Re^2: Get average value of array of numbersby swampyankee (Parson) |
on Oct 15, 2009 at 19:49 UTC ( [id://801422]=note: print w/replies, xml ) | Need Help?? |
…although to be a bit more rigorous you should divide by the number of defined elements, and check to ensure that there is at least one (defined) element in the array.
In Section
Seekers of Perl Wisdom
|
|