[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: round bug



soo wrote:

Still, FORMAT shows abnormal behaviors:

You haven't told us which of these you consider wrong.

Note that "round to even" is considered correct rounding,
to avoid bias in rounding.  So 1.5 and 2.5 rounds to 2 while
3.5 and 4.5 round to 4.
--
	--Per Bothner
per@xxxxxxxxxxx   http://per.bothner.com/