What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Including percentage and such like to a calculation

    Asked by tomorrownight on February 03, 2016 at 09: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

    form calculation
  • Profile Image
    JotForm Support

    Answered by Charlie on February 03, 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.

  • Profile Image

    Answered by tomorrownight on February 08, 2016 at 03:05 AM

    awesome, i really should have got that as its basic maths shouldnt i?  Im sorry. 

    thanks alot! 

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 08, 2016 at 04:59 AM

    On behalf of my colleague, Charlie, you are welcome. If you need further assistance, please feel free to contact us again.