Type in the words(s) to search for:

    Mark results
      Userbooster Help

      %= (Modulo Division Equality)

      The modulo division equality operator:

      • Performs the modulo division if the first operand is of boolean, numeric, floating or date-time type. It throws an exception when the second operand is of not appropriate type.
      • Performs the item by item modulo division if both operands are arrays of an equal size.
      • Throws an exception otherwise.

      Example

      var i = 8;
      i %= 2;