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

    Conditions with two decimal places

    Asked by gregpare on March 25, 2017 at 09:22 AM

    How can I add a $ to a calculation and make the decimal point two places? I'm using conditions in this form. https://www.jotform.com/build/70688999100

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike_G on March 25, 2017 at 12:58 PM

    I have inspected your form and since I see that you only have test submissions in it, may I suggest you use our Masked Input widget instead for your "Groceries Expense" and "Eating Out Expense" fields?

    Then, setup both Masked Input widget in its wizard settings as shown in the image below:

    Do not forget to remove the old "Groceries Expense" and "Eating Out Expense" fields from your form and also, do not forget to update the conditions.

    Now, in order for the output to show two decimal places, you have to do what is shown in the screenshot below to each condition in your form.

    Below is the result of the changes mentioned above to a clone version of your form.


    Here's the link to the clone version of your form: https://www.jotform.com/70835238075964

    (Please feel free to clone it to your account so you can inspect it better.)

    I hope this helps. If you have any further questions or concerns, please feel free to contact us again anytime.

    Thank you.