Operators Priority

Below is a list of operators priority. At the top are operators with higher precedence.

OperatorDescriptionSample
( )parentheses for grouping an expression(1+3)*4
- + # &unary minus and plus, and operators for changing the base (radix)-10
&1111 (bin)
#ff (hex)
%percentage from a previous value100-30%
^powering3^2
* /multiplication and division10*20
without an operatorshort form of multiplication
(only if the second argument is a variable or function,
the same priority as a normal multiplication)
3y
+ -addition and subtraction10-30
== != < > <= >=comparative operators4<5
&&logical and3>2 && 3<10
||logical or3>2 || 3<10