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

    Is There a Way to Round Numbers to One (1) Decimal Place?

    Asked by iftach on December 08, 2015 at 04:24 AM

    Is there option to make something like 0.137 round to 0.1 and 0.987 round to 0.9?



    This is a re-post of a comment on Form Calculation - Math Function Reference

  • Profile Image
    JotForm Support

    Answered by abajan on December 08, 2015 at 04:49 AM

    This can be done without using any of the math functions by clicking Show Advanced Options

    and then selecting 1 for Decimal Places in Numerical Results:

    Above is a screenshot of the calculation wizard in this JotForm. Please feel free to clone and examine the form.

    Cheers

  • Profile Image
    JotForm Support

    Answered by abajan on December 08, 2015 at 05:04 AM

    Incidentally, 0.987 would round to 1, not 0.9. A result of 0.9 would require the floor function divided by 10, I imagine.