www.piclist.com/techref/index.htm?key=brain+burp+rounding

Paul Hutchinson wrote:

{Quote hidden}

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

.....piclist-unsubscribe-requestRemoveMEspamBeGonemitvma.mit.edu

See also: www.piclist.com/techref/index.htm?key=brain+burp+rounding