Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Get average value of array of numbers

by swampyankee (Parson)
on Oct 15, 2009 at 19:49 UTC ( #801422=note: print w/ replies, xml ) Need Help??


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.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc


Comment on Re^2: Get average value of array of numbers

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801422]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-22 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (116 votes), past polls