Rounding problem

No.14093572 ViewReplyOriginalReport
So if you have .49999 (9s repeat to infinity), and you want to round it to the nearest integer, would it be 0 or 1?

If you look at it as "4.9999 will always be less than .5," it would round to 0; but if you look at it in the sense of ".x9999 repeating = .(x+1)" (like above), then you'd get .49999... = .5 which rounds to 1.

So which one is it?