How to round calculation field without decimals?

  • Profile Image
    hughdal
    Asked on October 29, 2020 at 08:08 PM

    Hello, is there a way to round the "cost each" field in this form with no decimals?

    Thanks!


  • Profile Image
    Kiran
    Answered on October 30, 2020 at 12:40 AM

    You may use the round() function in the formula to round the values. Please see the screencast below:

    1604032698_5f9b98bac9704_2667498_Calc.gi

    You may find the other math functions in the guide below that you might find helpful.

    https://www.jotform.com/help/267-form-calculation-math-function-reference

    The decimals can be removed from the Options tab in the Form Calculation Widget formula options (...).

    1604032535_5f9b98171334a_

    Hope this information helps!