no banana@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 7 days agoSo wise.media.piefed.worldimagemessage-square99fedilinkarrow-up1779arrow-down17
arrow-up1772arrow-down1imageSo wise.media.piefed.worldno banana@piefed.world to Lemmy Shitpost@lemmy.worldEnglish · 7 days agomessage-square99fedilink
minus-squarekryptonianCodeMonkey@lemmy.worldlinkfedilinkarrow-up12·edit-27 days agoAnother counter-intuitive percentage fact: A 10 percent discount and a 10 percent fee can be calculated in either order but they don’t cancel out. Example, 90% of (110% of 10) = 110% of (90% of 10). But neither of those is evaluates to 10. They evaluate to 9.9. For any percentage X, and and base value C, (100 - X)% x ((100 + X)% x C) = (100 + X)% x ((100 - X)% x C) = (100 - (X^2/100))% x C
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up1·6 days agoThis one irks me to no end.
Another counter-intuitive percentage fact: A 10 percent discount and a 10 percent fee can be calculated in either order but they don’t cancel out.
Example, 90% of (110% of 10) = 110% of (90% of 10). But neither of those is evaluates to 10. They evaluate to 9.9.
For any percentage X, and and base value C, (100 - X)% x ((100 + X)% x C) = (100 + X)% x ((100 - X)% x C) = (100 - (X^2/100))% x C
This one irks me to no end.