Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get to my amount without the taxes
Message
From
26/01/2004 19:05:03
 
 
To
26/01/2004 19:01:48
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00870822
Message ID:
00870831
Views:
19
This message has been marked as the solution to the initial question of the thread.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform