4 Replies Latest reply on Jun 25, 2015 8:19 AM by raypalmer

    How Would I Times The Script below by two?


      I'm by no means a script writer. Ive used this for many things in the past but, now I need to times the calculation by two and I don't know how.




      var nNumerator = this.getField("Text5").value;

      var nDivisor = this.getField("Text201").value;

      var nResult = 0;

      // test for non-zero value

      if(nDivisor != 0) {

      // perform division

      nResult = nNumerator / nDivisor;

      } // end non-zero