Hello Van:- okay, I'll bite!
Not really. The 0 is not rounded!
Yes it is: the way I learned this was as follows:-
a number that is _truncated_ to x.0 has to be greater than x, because
otherwise it would have been truncated to w.9. Therefore anything that
starts with x.0 has to be rounded down to the nearest integer, x. If we are
talking about real numbers, of course, there is no such thing as exactly
x.0 but only x.00000000000001 and w.999999999999879 and so on.
by similar reasoning a number that is _truncated_ to x.5 has to be
greater than x.5, and so is rounded up to the nearest integer, y.
The problem in computer land is that there appears to be such a thing as
_exactly_ x.5 but only because it's the result of something that has
already been rounded. Rounding a rounded number is highly unsatisfactory so
it really doesn't matter what algorithm is used. I don't know what research
has been done here, and I am more than happy to back down if it can be
shown that this "even numbers priority" has some kind of advantage over
normal rounding, or over "odd numbers priority" or "odd numbers if the day
has an S in it..." or something equally arbitrary.
Just a thought
B Wishes
Tim F