Rounding question.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
(no date)


  These percentages sum to 100

    x percentages 44.42
    y percentages 36.38
    z percentages 19.20
  __________________________
  total percentages 100.00

  but the rounded the percentages 44, 36, and 19 sum to 99. These percentages
  also sum to 100

    x percentages 44.51
    y percentages 36.49
    z percentages 19.00
  __________________________
  total percentages 100.00

  but the rounded percentages 45, 37, 19 sum to 101.
  
  What should we do in these cases to make sum of percentages to be 100?

This is something you should already be familiar with; if you need a hint or
two to help you remember, you might want to look up cumulative error in any
good basic-mathematics book.



This archive was generated by hypermail 2.0b3 on Fri May 10 2002 - 12:45:04 EDT