Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: accurately rounding numbers for percentages

by Trimbach (Curate)
on Aug 03, 2009 at 03:23 UTC ( #785329=note: print w/ replies, xml ) Need Help??


in reply to Re^4: accurately rounding numbers for percentages
in thread accurately rounding numbers for percentages

So do what ww said and simply put a disclaimer about the numbers being rounded and not necessarily adding up to 100%.

You can't introduce error to your numbers via rounding and then magically expect that error to disappear and have everything add up to 100 all the time. People are smart enough to understand rounding errors if you add a comment to that effect.

Gary Blackburn
Trained Killer


Comment on Re^5: accurately rounding numbers for percentages
Re^6: accurately rounding numbers for percentages
by derekn (Initiate) on Aug 03, 2009 at 05:00 UTC
    Ok. This is my first time to ever post on this board, and I may not know as much as you all do, which is why I posted here in the first place, to seek others' greater knowledge so that I might learn from them. I'm sorry if I sounded like I didn't LIKE any answers, because I assure you that was not the case. I just wanted to make sure that I made myself clear, as I wasn't sure that I had. After the replies you have shared with me, I will go with disclaimer. Derek
      Derek,
      Thanks for this nice note. Welcome to perlmonks! I will now abstain from making some obscure reference to the pain of receiving enlightenment, and merely wish you a lovely day.

      --spazm

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-07-28 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (193 votes), past polls