Preserved Topic: Rounding percentages? |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Canada, Toronto |
posted 02-14-2002 05:22
I am doing this in Java, but I guess the problem is general. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 02-14-2002 06:21
Simple explanation of the logic: |
Paranoid (IV) Inmate From: Canada, Toronto |
posted 02-14-2002 06:38
Thanks Slime, short and to the point. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 02-14-2002 07:34
For the record, almost every voting software has this small *issue*. IMHO The easiest solution would be to fake one of the values, simply sum up all values except one and then you get that last value by subtracing sum of all other values from 100... |