Short version of the question: when rounded variable is used to calculate another variable, should I use rounded or unrounded value?
Longer version: say I have two calculations: a / b = c and c + d = e (for the sake of clarity, a, b and d are known to us). In order to make things readable for the user, I round c (never mind the rounding algorithm). Now, when calculating d, should I use rounded or unrounded c as the source variable?
When I use the rounded value, d is further from the "real" value.
When I use the unrounded value, d is not a derivative of c as seen on screen (because rounded value is seen on screen and unrounded is used).
What's your take on the subject? Which way would you do it?
In case it matters: I'm doing all these calculations in javascript. The precision is not hugely important.
You should avoid reusing values which you have rounded before (if possible, don't even store them, so you can't accidently use them).
– Listing Jan 06 '14 at 16:35$1.00has been divided into three equal parts. If you display$0.33+$0.33+$0.33=$0.99you have lost money; if you display$0.33+$0.33+$0.33=$1.00you look incompetent. – AakashM Jan 06 '14 at 16:49