in reply to Re: Get average value of array of numbers
in thread Get average value of array of numbers
…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