|
-
Aug 7th, 2004, 12:02 PM
#1
Thread Starter
Frenzied Member
Equation Help
Hi,
My mind must be very tired today because I did this once but can't remember how I did it. I'm trying to take a price such as $100 and then back out the tax (say 6%) so the subtotal price plus the tax equals $100.
In VB6 I want to write a function that I pass the total price of $100 and it returns the new price and the tax amount that totals $100.
So as an equation, I write it as:
$100 = Price + (Price * .06)
If you just calculate the tax on $100 and subtract it, thats too much tax because the new price is lower that $100.
Any thoughts?
Thanks!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|