2 Replies Latest reply on Feb 16, 2012 7:00 AM by gkaiseril

    Weighted Average script

    Milton123321 Level 1

      Good afternoon,

       

      I am trying to construct a weighted average script. I am trying todo this; however, the sytnax is wrong. Could you help?

       

      I am doing a custom calculation script

       

      var x = this.getField("X").value

      var y = this.getField("Y").value

      var z = x * .40 + y * .60

      event.value = z