5

This question is inspired by How to round 0.4999... ? Is it 0 or 1? I didn't quite understand the logic of the answer. It seems you round every decimal place no matter how far back it goes? In the case of 0.49999, you're rounding up the 9 increases which causes the .4 to be .5 making it round up to 1 (rather than down).

So 0.45 will rounds to 1? Would .444444444444444444444444444449 also round to 1?

4 Answers4

12

You may be thinking of this: Rounding $0.4445$ or even $0.4449$ directly to an integer produces $0$. When rounding $0.4445$ to three decimal places, we round the 5 up and onbtain $0.445$. When we round this number again (to two decimal places), we obtain $0.45$, and if we round this to one decimal place, we obtain $0.5$, which we finally round to integer obtaining $1$ instad of $0$. Repeated rounding is to be avoided! There are rounding strategies that can cope better with repeated rounding ("round 5 to even") then the usual and conventional rounding rule ("round 5 up").

In other words: Rounding introduces error.