Performing Calculations

K

Kaci

How would I write code to multiply three different calculations by clicking
calculate only once.

Example of what I need:

Yield Goal:##
1 Nitrogen=#
.40 Phosphorus=#
.25 Potassium=#

When typing in a yield goal number and pressing calculate I would like for
it to figure yield goal*1 to go by Nitrogen, yield goal*.40 to go by
phosphorus, and yield goal*.25 to go by potassium

How can I calculate all of this with one click?
 
K

Kevin Spencer

Can you be more specific about what you're talking about? Is this a web
page?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
K

Kevin Spencer

Well, I was hoping for a bit more information. Is it a form? Details,
please.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
 
S

Stefan B Rusynko

See http://javascript.internet.com/calculators/

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| How would I write code to multiply three different calculations by clicking
| calculate only once.
|
| Example of what I need:
|
| Yield Goal:##
| 1 Nitrogen=#
| .40 Phosphorus=#
| .25 Potassium=#
|
| When typing in a yield goal number and pressing calculate I would like for
| it to figure yield goal*1 to go by Nitrogen, yield goal*.40 to go by
| phosphorus, and yield goal*.25 to go by potassium
|
| How can I calculate all of this with one click?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top