How do I round off the value to the nearest Integer?

  • erinvistnes
    Asked on July 9, 2019 at 2:19 PM
    Second, I have used a form calculator to calculate an average score for the four final single-choice questions. However, I would like to make it so that the average score I calculate is then rounded down to the nearest whole number. How can I do this?
  • roneet
    Replied on July 9, 2019 at 2:34 PM

    You may take a look at these functions in the form calculation widget:

    Guide: https://www.jotform.com/help/267-Form-Calculation-Math-Function-Reference

    round()

    Round a number to the nearest integer.

    floor()

    This is the opposite of the ceil() function. This rounds down a number to its nearest integer.

    You may get the floor() function by clicking on ... icon. 


    How do I round off the value to the nearest Integer? Image 1 Screenshot 20


    Ceil(): Round up a number to its nearest integer. If the value is a full number, it will not be rounded.


    Hope this information helps!

    Let us know if you have further questions.

    Thanks.