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

    Round numbers on calculation

    Asked by SimranS on January 02, 2014 at 10:15 PM

    I would like to add a discount 5% on a total in a textbox, unfortunately the decimal points don't add up right and there's no way to fix it with the current config. Here's an example:

    Total is $10.2 and I have it calculate a discount of 5%, well it shows $96.9 instead of $9.69

     

    $43.25 will show $4108.75 rather than $41.08(How I want) or at least $41.0875...

     

    What can I do? 

    textbox at least and
  • Profile Image
    JotForm Support

    Answered by ashwin_d on January 03, 2014 at 03:18 AM

    Hello SimranS,

    I'm sorry for the trouble caused to you.

    I have cloned your form and did the changes to show the correct calculations. Basically what need to be done is that, you need to replace the existing text box with number fields which can be found under "Quick Tools" tab:

    I have just replaced the calculation textboxes with number fields and the calculation values seems to be correct. Take a look at the following form:  http://www.jotformpro.com/form/40021233726946?

    If this form looks okay to you, feel free to clone this form. This guide should help you in form cloning: http://www.jotformpro.com/form/40021233726946?

    Do get back to us if you have any questions.

    Thank you!