2 Replies Latest reply: Apr 13, 2012 12:45 PM by bsommerhardees RSS

    Java Script Problem - percent and decimal points


      Adobe Acrobat Java Script Percent Equation Problem


      Please help me finish this script to result in an answer that is a percent with 2 decimal points. 


      1. event.value=(this.getField("AmountActualstoDateRestaurant2").value-this.getField("AmountPr iorYearToDateVarRestaurant3").value)/this.getField("AmountPriorYearToDateVarRestaurant3"). value;