Paul Hutchinson wrote: > Maybe this example will help illustrate the bias in >=5 rounding versus > odd/even rounding. > > You have four numbers to sum, 1.5, 2.5, 3.5, 4.5 > Using the decimal values: > 1.5 + 2.5 + 3.5 + 4.5 = 12. > > If we round using >=5 rounding: > 2 + 3 + 4 + 5 = 14 This is what I would expect. The numbers x.5 are all on the TOP half of the decimal spread, so of course the average or total of them will be greater than the half way mark. 0.00 to 0.49 is in the first half, 0.50 to 0.99 is in the second half. Just like 0 to 127 is the first half and 128 to 255 is the second half in binary. Where you might be confused is that 0.50 is not the half way point between 0 and 1. The half way point is AFTER 0.4999999 and BEFORE 0.5. So 0.5 is past the half way mark. :o) -Roman -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu