![]() Preserved Topic: Rounding percentages? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Canada, Toronto |
![]() I am doing this in Java, but I guess the problem is general. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Simple explanation of the logic: |
Paranoid (IV) Inmate From: Canada, Toronto |
![]() Thanks Slime, short and to the point. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() 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... |