in reply to
Re: get the average of hash values?
in thread
get the average of hash values?
This node falls below the community's threshold of quality. You may see it by logging in.
Comment on
Re^2: get the average of hash values?
Download
Code
Replies are listed 'Best First'.
Re^3: get the average of hash values?
by
JavaFan
(Canon)
on Jul 28, 2010 at 08:48 UTC
I don't understand. The OP wants an average for each of 'A', 'B', 'C', 'D' (four numbers). Your input (%hash) doesn't have the information to do that, and your output (a ratio, called '$sum') is a single number.
[reply]
In Section
Seekers of Perl Wisdom