First page Back Continue Last page Image

The arithmetic operators in order of precedence

Operator Order of precedence

* Multiplication 1

/ Division 1

DIV Integer division 1

% (MOD) Modulo (remainder) 1

+ Addition 2

- Subtraction 2

Remember Math? - Same thing

Use (Parentheses) to force the order you want, then you do not have to pay attention to the default order of Precedence

Oh, so it is put on suit before opening airlock