Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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