That is doing it wrong. You should only ever round as the last step before display.
Comment on 102%
starik@lemmy.zip 1 day agoUsing strongly/somewhat for approve and disapprove:
39.5 + 0.5 + 55.5 + 0.5 + 3.5 = 99.5
That could work.
FishFace@piefed.social 1 day ago
TigerAce@lemmy.dbzer0.com 1 day ago
=40, not 41
=56, not 57
Its only possible if you round up 40.1 to 41, which is also bad math. When there are 3 variables properly rounded up, you can only have 3x0.5 added.
zloubida@sh.itjust.works 1 day ago
What I say is that there is more than three variables. The three variables are already the result of addition if other variables rounded.
TigerAce@lemmy.dbzer0.com 1 day ago
So there were other options you mean? Like 0.5% couldn’t read, 0.5% drew a picture of a gun instead of answering, etc?
idiomaddict@lemmy.world 1 day ago
0.5% strongly approve, rounds up to 1%. 39.5% somewhat approve, rounds up to 40%. The proportion of people who, to varying degrees, approve is then listed as 41%, because otherwise people would see it as them saying 1+40=40.
People are going to say they don’t understand math either way, so they just need to pick a convention and stick to it.
starik@lemmy.zip 1 day ago
39.5 = 40 0.5 = 1 40 + 1 = 41
55.5 = 56 0.5 = 1 56 + 1 = 57
3.5 = 4
Since the original 5 numbers only add up to 95.5, you have a leftover 0.5 to distribute between them. After doing so, you would have what could have been the original results before rounding.
TigerAce@lemmy.dbzer0.com 1 day ago
Yet this is based on the assumption there were more options, plus the total should still not exceed 100%