in reply to Re: Rounding off numbers
in thread Rounding off numbers

swampyankee,
There are actually defined standards for rounding; to be absolutely pedantic, numbers which are...

Really? Where? I am not saying that because I don't believe you but because I am only familiar with rounding algorithms - not any standards. Do you have any reference material?

I would have thought any standard would have been referenced in this rounding algorithm article or in the Wikipedia entry.

Cheers - L~R

Replies are listed 'Best First'.
Re^3: Rounding off numbers
by swampyankee (Parson) on Apr 20, 2006 at 22:11 UTC

    Try this NIST pdf (although I seem to have reversed their rounding rules, which are "round to even" from the ones I remembered which were "round to odd". Ah, daily my memory more and more remembers a steel sieve).

    emc

    "Being forced to write comments actually improves code, because it is easier to fix a crock than to explain it. "
    —G. Steele
Re^3: Rounding off numbers
by gloryhack (Deacon) on Apr 20, 2006 at 18:58 UTC
      That's not the maths I learnt at school. It's not very PC either, being unfair to odd numbers :-)
        Very sound point. Oops.