Jump to content

Calculation


Canman2005

Recommended Posts

Hi all

 

Wondering if someone can help me.

 

Basically I have a form which has 2 fields

 

Numbers (which on the form is called `number`)

Real Number (which on the form is called `real_number`)

 

I then have a price (which on the form is called `cost`)

 

What I want to do is if in the number field there is the value 100 and the price value is 5 and someone enters into the real number the value 200, then it would calculate the price at 10

 

Again, if the number value was 1 and the price was 15 and the real number value was changed to 2 then the price would increase to 30

 

If for example the number value was 50 and the price was 10 and the real value number was changed to 25 then the price would come out at 5

 

Does that make sense?

 

Can anyone help?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.