20 Replies Latest reply on Oct 16, 2016 3:05 PM by Karl Heinz Kremer

    Help! help! How come Math pow( ) cannot work on this????

    tanw35138092

      Hi, I have no Java Script experience, wanted to create more complex calculation on DC Acrobat Pro, but only know how to perform basic calculation by using simplified script. Please see attached.

      table calculation.JPG

      assuming I created field for No. of years, Monthly Amount, Total amount (for row of the table)

       

      Here are my script

       

      12*Monthly Amount*Math.pow(1-1.02,No. of years)/1-1.02

       

      12=one year

      1.02=interest p.a

       

      But it does not work. Does Math.pow work on acrobat or can I have any simply way to work on this??