1. ## Percentage Discount Problem

So,

I take 10% off a line of products (in my online store) via a php script. The prices of the parts were not the same to start with.

Now I need to add the 10% back across the line of products. If I do that it obviously fails.

$100 - 10% = 90$
$90 + 10% = 99$

99$is not equal to the original$100 price.

So yeah, is there anything I can do to get back to normal pricing?

Thanks for help.
Tai

2. Hi

Originally Posted by taikahn
So,

I take 10% off a line of products (in my online store) via a php script. The prices of the parts were not the same to start with.

Now I need to add the 10% back across the line of products. If I do that it obviously fails.

$100 - 10% = 90$
$90 + 10% = 99$

99$is not equal to the original$100 price.

So yeah, is there anything I can do to get back to normal pricing?
Of course there is

x - 0.1*x = cheaper products

(e.g. 100 - 0.1*100 = 90)

-------

5. ## Ours is not to reason why

Thanks mate. Your right that it is very important to understand why we do what we do in maths. It is logical and not simply a set of rules.
Thanks
Rick

6. If 90 + x% of 90 = 100
x/100 * 90 =10
so, x = 100/9
So, we get 90+ 11.111111% of 90 = 100

We must remember that x% of y = y% of x i.e 9% of 10 = 10% of 9 and;10% of 9 != 9 % of 10