How to add a currency sign and comma to a calculation result?

  • Ashley_areiter
    Asked on August 15, 2023 at 11:53 AM

    I am trying to create a pricing calculator that can calculate a fee based on an amount, but how do I get it to format as a currency? For example, if I want to charge 1% on an amount like $500,000, the returned fee should read $5,000. Is that possible to do?

  • Gian JotForm Support
    Replied on August 15, 2023 at 12:36 PM

    Hi Ashley,

    Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you shortly.

    Let us know if you need any other help.

  • Gian JotForm Support
    Replied on August 15, 2023 at 1:23 PM

    Hi Ashley,

    You can add the Form Calculation widget to your form and add the Dollar sign and comma separate element in the formula to achieve your goal. Let me show you how:

    1. Click on the Wand icon to open the Form Calculation widget's settings.
    2. Add the $ sign.
    3. Click on the Three Dots icon.
    4. Select commaseparate in the elements.
    5. Add the rest of the formula and click Save.

    How to add a currency sign and comma to a calculation result? Image 1 Screenshot 30

    Here's the result:

    How to add a currency sign and comma to a calculation result? Image 2 Screenshot 41

    Give it a try and let us know if you need any other help.