Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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
Replies are listed 'Best First'.
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
      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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2015-11-27 04:03 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (717 votes), past polls