How do I replace comma from calculation with a decimal

  • Profile Image
    samiaharoon11916
    Asked on May 24, 2017 at 02:10 AM

    Hello:

     

    My results from my calculation widget are showing up as 4,000,00 and not 4,000.00.  I tried to pinpoint from the source code but couldn't figure out in how to change this.  I saw a thread where you addressed the solution, but seems like it's protected for the user only, I'm guessing.

     

    Also, is there a way to disable page views if I am in preview mode.  There should be a beta version like in Mailchimp to run these in test mode.  

     

    Thanks,

    Samia Haroon

  • Profile Image
    BJoanna
    Answered on May 24, 2017 at 04:59 AM

    I was able to make this work, but I had to perform calculation a but differently. 

    I have added calculation field that I used to perform calculation for Medicare Part B Revenue and Reporting Year fields. Then I have added that field inside of commaSeparate function to other two fields. 

    Currently a dot can not be added as separator for decimals inside of Version 4 of our Form Builder, so I had to use Version 3 of our from Builder. 

    Here is my demo form: https://form.jotform.com/71431758371963 

    Feel free to clone it and test it. 

    You can switch back to Version 3 on settings page of your account. 

     

    Hope this will help. Let us know if you need further assistance.