Operator Type:
Operator Scope of Action:
Operator Purpose:
Data Type Returned:
Operator First Added:
Operator in Current Baseline:
Operator Last Altered:
Operator [other Operator type actions]
Item [operators of similar scope]
Mathematical [other Mathematical operators]
Number [about Number data type]
v9.1.0
Baseline
As at baseline
-= (i.e. decrement)
This assignment operator is a convenient shorthand for decrementing an attribute. For example, the two following statements are equivalent:
$MyNumber -= 3;
$MyNumber = $MyNumber - 3;
This operator may also be used with Lists and Sets.
See also—notes linking to here: