# Trying to figure out a formula

If Me.txtGross is 566.60 and txtMultiplier is 7.00% (datatype = number, double, percent, 2) what is the formula to come up with an answer of 526.94 ?

The human understandable (at least for me) is 566.60 x 93% but I can't figure out how to write the control source for the answer field.
###### Who is Participating?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Senior developer, analyst and customer assistance Commented:
It should be
(txtGross/100)*(100-txtMultiplier)
that is
(566.60/100)*(100-7) = 5.666*97 = 526.938
0
Infotrakker SoftwareCommented:
You could also do this:

YourInputValue - (YourInputValue X (YourMultiplier/100))

566.60 - (566.60 x (.7/100)) = 526.938
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

CIOCommented:
The direct method will be:

``````Me!txtNetto.Value = Me!txtGross.Value * (1 - Me!txtMultiplier.Value)
``````
Or, for the rounded value:

``````Me!txtNetto.Value = CCur(Format(Me!txtGross.Value * (1 - Me!txtMultiplier.Value), "0.00"))
``````
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.