| - | Index Level | / |
| Syntax | variable -= num.expression |
| Category | BASIC |
| Type | Operator, Assignment |
| Description | decrements a variable by a numeric expression. |
| Options | |
| See Also | + - PRECISION SUM /= operators arithmetic expressions := num.expression precedence \= assignment arithmetic operators *= += * |
| Example |
x -= 1
Subtracts one from the variable, "x" and assigns the result to "x". total -= tax This is equivalent to the statement: total = total - tax |
| Warnings | |
| Compatibility | AP 5.2.5 |
| - | Index Level | / |