JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How do I calculate exponent equations?Asked by aaosresearch on April 08, 2016 at 10:04 AM
I am trying to set up a condition in my form that calculates a number raised to the power of another. I cannot figure out how to get the exp() or pow() equations to work in that way, and I'm not sure if that is even what they do.
two to the power of three = 2^3 = 2x2x2 = 8
However, if I ask my form to calculate 2pow(3) or 2exp(3), I do not get 8 as the output in the selected field.
How do I use the functions in the field calculator to get the proper answer for an exponent equation like this?
Inside of this guide you can find more about Form Calculation - Math Function Reference:
And inside of this guide you can find how to perform calculation in the form:
To calculate exponent equations, you need to use pow() math function and set your calculation like this.
Here is my demo form: https://form.jotform.com/60984675573976
Feel free to clone it.
Hope this will help. Let us know if you need further assistance.
That was very helpful, thank you!
Feel free to contact us if you have any other questions.