Form Calculation: How can I set the the widget to do not use decimals?

  • thaibynature
    Asked on May 24, 2017 at 9:52 PM

    On the 3rd part, I'm using Calculation Form.

    I think it works fine, but it display the values like this 80,00  instead of 80

     

     

    Ref: http://board.thaibynature.com/425404/10658313

    Here's the updated form: http://www.thaibynature.com/export/fb-form

     

     

    The original form display only 80 --> http://www.thaibynature.com/export/fb-3of3 

     

    I think it's a matter of decimal display ? But I couldn't seem to find how to fix this. 

     

    Your help would be appreciated. 

     

    Thanks. 

  • Kevin Support Team Lead
    Replied on May 24, 2017 at 10:11 PM

    You could set the Form Calculation widget to do not use decimals, to do it you only need to click on the more button while on the wizard: 

    Form Calculation: How can I set the the widget to do not use decimals?  Image 1 Screenshot 30

    Once there, go to the options tab and set the decimals to 0:

    Form Calculation: How can I set the the widget to do not use decimals?  Image 2 Screenshot 41

    Hope this helps. 

     

  • thaibynature
    Replied on May 24, 2017 at 10:22 PM

    Thanks for the quick response.

     

    In my widget setting, I set NOT to use commas for decimal, but it keeps displaying commas. 

    Ref: http://board.thaibynature.com/425404/10659294

     

    Again, here's the form (select on part 3): http://www.thaibynature.com/export/fb-form

     

    I think it might be some error, or maybe I'm missing something ?

     

    Thanks. 

  • Chriistian Jotform Support
    Replied on May 25, 2017 at 1:29 AM

    I can see what you are referring to on your form. You don't want the decimal place and a comma sign on the calculated value. 

    Form Calculation: How can I set the the widget to do not use decimals?  Image 1 Screenshot 40

    To remove this, please uncheck the option "Use commas for decimal point" and set the Decimal Places as 0.

     Form Calculation: How can I set the the widget to do not use decimals?  Image 2 Screenshot 51

     

     

     

    Here's the result after unchecking the option "Use commas for decimal point" and setting the Decimal Places as 0.

    Form Calculation: How can I set the the widget to do not use decimals?  Image 3 Screenshot 62

    Regards.

  • thaibynature
    Replied on May 25, 2017 at 5:34 AM

    Many thanks for your support.