Thread: Math Help
View Single Post
01-27-12, 02:50 AM   #23
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by Seerah View Post
Originally Posted by TheGeek View Post
OK, in all seriousness, our CPA at my office can literally do this in his head in second. I mess with him all the time "Hey bob, what's 20% off 1448.74" -- BAM answer. Of course I don't need it.
Oh sure. You take 10% and then multiply it by 2.

10% of 1448.74 is (rounded) 145, times 2 is 290.


/edit: shh! don't tell him I told you his secret!
20% *off* 1448.74 would be 80%, which would change to formula to:

1448.74 / 10 = 144.874
144.874 * 8 = 1158.992

It's a little harder calculation but us programmers are known for taking shortcuts anyway.
Then again, I can come up with an answer from my head in a split second too, nobody said it had to be right.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote