Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Multyplying by a Exponent

Avatar

Former Community Member

I need to enter this formula P = [i L (1 + i)^n] / [(1 + i)^n - 1] into a fillable PDF.  The only thing I cannot figure out, is the exponents.  How do I enter those into the equation?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Math.pow basically replace the exponent formula

View solution in original post

4 Replies

Avatar

Level 10

Hi there,

to be able to do so, using JavaScript you must use Math.pow(value, n);

so if you want to do 4^3 then you will have Math.pow(4, 3);

I hope this help!

Avatar

Former Community Member

Thanks for the help.  How would I incorporate Math.pow into the formula?

Avatar

Correct answer by
Level 10

Math.pow basically replace the exponent formula