Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Well remove -1 from -2, you'll have -1. Do it again. 0. Do it again. 1. I'm not reversing the maths there, but it is in theory correct as --n% is the same as +n%
-
b3b343777y@Proximyst yeah mathematically seen its correct but I didn't expect anybody to do this kind of stuff. Probably in the user interface they were supposed to enter a positive amount but the user entered a negative one and that's why its negative negative 13%. Fucking incompetent devs. Have to wait for them to fix it now...
-
Ma30h56477yWhen programmer didn't tell data entry guy to not put percent of sell as a negative number
-
TommyV9397yIt's when they mess up the algo. It's worse, when they don't use computers at all. I'd imagine they calculated that themselves
-
-- = +
(14.99 + 0.01 //because that 1 cent is always subtracted//)* 1.13 = 16.95 round and subtract one cent
... seems valid to me
Umm wait what? Okay... 🙄😅
rant
maths gone wrong