-
tomorrownightAsked on February 3, 2016 at 9:44 AM
hello,
i created a nice form with you guys but now the person who asked me to make it wants to add discounts. Is there a way of reducing the form calculation down by 10% or something? There is no percent options in the Maths that i can see. thanks
Adam
Page URL: https://form.jotform.com/60212594532955 -
CharlieReplied on February 3, 2016 at 12:20 PM
It depends on how your form is setup. You just need to convert the percentage to decimal places.
Example:
To get 10% on your price, just do this formula:
Price x 0.10 = 10% of the price
To get 20% on your price, just do this formula:
Price x 0.20 = 20% of the price
...and so on.
However, it depends on how your form is setup. Here's my test form: https://form.jotform.com/60335126857962. In my end, I will let my users set a discount percentage, this means the inputted number is not converted to a 2 decimal value, I need to convert them first. My formula would be like this:
Price - ( (Discount % / 100 ) * Price ) = total price minus the discount
Example:
Price = 100
Discount = 10 (which means 10%, no need to add "%" sign)
Formula calculation:
= 100 - ( ( 10 / 100 ) * 100 )
= 100 - ( (0.1) * 100 )
= 100 - ( 10 )
= 90 total price
I hope that helps. Do let us know if you need more information on this.
-
tomorrownightReplied on February 8, 2016 at 3:05 AM
awesome, i really should have got that as its basic maths shouldnt i? Im sorry.
thanks alot!
-
Chriistian Jotform SupportReplied on February 8, 2016 at 4:59 AM
On behalf of my colleague, Charlie, you are welcome. If you need further assistance, please feel free to contact us again.