>>Thank you Alan.
>>
>>>Denis,
>>>
>>>If you know each of the tax percentages, just divide them from the total price.
>>>
>>>you had:
>>>((150*1.07)*1.075)= 172.54
>>>
>>>To get the original price ($150), just divide the taxes from the total:
>>>((172.54/1.075)/1.07)=150
>>>
>>>Alan
>>>
>>>>>Here's my problem. It probably has been discussed here before. I just hope that there is already a solution for it somewhere.
>>>>>
>>>>>In my application when a product is bought I have to add taxes to the price
>>>>>
>>>>>First I have to add 7% to the price.
>>>>>This gives me an intermediate result.
>>>>>I then have to add another 7,5% to that intermediate result which gives me the grand total.
>>>>>
>>>>>So if the product is $150 the intermediate result would be $160,50
>>>>>I then take the $160,50 to add the remaining 7,5% which gives a grand total of $172,54
>>>>>
>>>>>Now here's the problem I want from a given total price be able to go back to the point where I have the original amout without the taxes.
>>>>>
>>>>>What would be the best way to obtain that original amount?
>>>>>
>>>>>Would it be a lot harder if there were a third tax applied to the amount?
>>>>>
>>>>>TIA
>
>Just asking, are you sure your original calculation is correct? That would mean that a tax is being applied to a tax, which is uncommon - consumers tend to get very upset at that.
>
>For example, in BC we have:
>
>Purchase price: $100.00
>GST: 7.00% of $100.00, or $7.00
>PST: 7.50% of $100.00, or $7.50
>
>Bottom line: $100.00 + $7.00 + $7.50 = $114.50
Hello Al,
Did'nt you already know that Quebec is a distinct province. You just had another proof ;-)
Politicians can be very imaginative.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé