Suppose we have a list of items with an integer:
USA: 3 people
Australia: 2 people
Germany: 2 people
If we calculate the percentage of each value against the sum over the whole list, we get:
USA: 3/(3+2+2)*100 = 42.857...%
Australia: 2/(3+2+2)*100 = 28.571...%
Germany: 2/(3+2+2)*100 = 28.571...%
and if we round it, we get:
USA: 43%
Australia: 29%
Germany: 29%
The sum 43+29+29 = 101 is not 100, and it looks a little bit strange to the user of the software. How would you solve this problem?