Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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: (5)
As of 2014-09-17 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (100 votes), past polls