How to change the decimal separator to a comma?

  • danvalia
    Perguntado em 1 de abril de 2024 às 10:14

    Hi, its possible to change the number formatting ?
    My form https://form.jotform.com/240806725900656 when submit to excel goes with "." to separate decimals , but google sheets doesnt recognize it as number. It should be used "," example

    100.10 should be 100,10


    Thanks

  • Aravir Jotform Support
    Respondido em 1 de abril de 2024 às 12:46

    Hi Daniel,

    Thanks for reaching out to Jotform Support. Are you referring to the Form Calculation widget field? If yes, you need to add a "commaSeparate()" function in the formula to comma separate the calculation result. Here's how to do that:

    1. In Form Builder, select the Form Calculation widget field and click the Wand icon. How to change the decimal separator to a comma? Image 1 Screenshot 40
    2. Click the Calculation section and click the Function icon.
    3. Search for commaSeparate() and select it.
    4. Next, enclose the existing formula with a parenthesis and click on Save. How to change the decimal separator to a comma? Image 2 Screenshot 51

    Checkout the screencast below to see my result:

    How to change the decimal separator to a comma? Image 3 Screenshot 62

    You can clone my demo form. We have a guide on How to Clone an Existing Form From a URL.

    Reach out again if you have any other questions.

  • danvalia
    Respondido em 1 de abril de 2024 às 17:45

    Yes, but I wold also like to know how i use comma to separate decimals in the field "Taxas" for example, which is a user inpt
  • Aravir Jotform Support
    Respondido em 1 de abril de 2024 às 19:42

    Hi Daniel,

    Thanks for getting back to us. I moved your other question to a new thread and helped you with that here.

    Let us know if there’s anything else we can do for you.

  • danvalia
    Respondido em 3 de abril de 2024 às 03:09

    Hi, thanks for the response.

    But I dont want comma separator for large numbers

    I want to use comma to separe number like 50.12 instead of using dots. So it should be "50,12". The point here is that my excel sheet doesnt recognize dots

    It's possible to separe nubers with comma instead of dot?


  • Angeli Jotform Support
    Respondido em 3 de abril de 2024 às 05:21

    Hi Daniel,

    Thanks for getting back to us. You can use the Masked Input widget. With this widget, you can change the Decimal Separator to a comma. Let me show you how to add it to your form:

    1. In Form Builder, click on the Add Form element menu on the left.
    2. Go to the Widgets tab and drag and drop the Masked Input widget.

    How to change the decimal separator to a comma? Image 1 Screenshot 20

    Give it a try and let us know if you have any other questions.