Brain Burp Rounding??
Kevin Blain email (remove spam text)
> How do people round numbers to the nearest decimal
> place on their pocket calculators?
> 3.12471 = 3.125
> 3.12441 = 3.124
> 3.1245551 = 3.124
> 3.1245556 = 3.125
> This just can't be right!
3.1245551 goes to 3.124 because it's greater than halfway (3.1425)
It's the old, add 5, 0.5, 0.05, etc, in your case, add 0.0005, and then
truncate it to n d.p.(in your case 3)
rule: add 5 x 10 exp -(decimal_places) then truncate to (decimal_places)
That's almost how I was taught, but it's how I do it.
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email mitvma.mit.edu with SET PICList DIGEST in the body listserv
See also: www.piclist.com/techref/index.htm?key=brain+burp+rounding
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the