Using Math.pow

By: Scott Yacko | Asked: 10/05/2022
ForumsCategory: Code HelpUsing Math.pow
Scott Yacko asked 2 years ago
Hello, I want to put a compound interest calculation on my form and the Formidable docs say I need to use Math.pow. There is no example on how to implement this using Formidable. Here is the formula that I need to create in the form:

P(1 + r/n)^nt P = principle r = interest rate n = number of period t = time It's the ^nt part that I don't know how to implement using formidable or formidable with Math.pow. Thank you in advance
1 Answers
Rob LeVineRob LeVine answered 2 years ago
This link - https://formidableforms.com/knowledgebase/field-calculations/#kb-advanced-numeric-calculations - shows how to use it as a field-level calculation.  Is that not what you want to do?
Scott Yacko replied 2 years ago

I have read the provided link and the example doesn't say where I can enter Math.pow statement. Based on your statement, I just tried it in the calculation field and it works. - Thank you.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right