Each operator has a precedence. Operators with a higher precedence will be evaluated before operators of a lower precedence. The precedence of the operators is as follows:

Highest precedence:    Not,- (unary minus)
*, /
+, -
=, , <, >, ≤, ≥
Lowest precedence:Or

Operators with the same precedence are evaluated left to right. You can force the evaluation order using parentheses. Subexpressions enclosed in parentheses have the highest precedence of all.