User Tools

Site Tools


en:orderofoperators

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:orderofoperators [2016/08/09 17:33] (current)
admin created
Line 1: Line 1:
 +=== Order of Operations ===
 +
 +Operators are evaluated according to a strict set of rules. ​ These rules are called the "Order of Operations"​.
 +
 +^Order of Operations^^^
 +^Level^Operators^Category/​Description^
 +|1|( )|Grouping|
 +|2|%%^%%|Exponent|
 +|3|- ~|Unary Minus and Bitwise Negation (NOT)|
 +|4|* / \|Multiplication,​ Division, and Integer Division|
 +|5|%|Integer Remainder (Mod)|
 +|6|+ - ;​|Addition/​Concatenation,​ and Subtraction|
 +|7|& %%|%%|Bitwise And and Bitwise Or|
 +|8|< <= > >= = <>​|Comparison (Numeric and String)|
 +|9|NOT|Not|
 +|10|AND|Logical And|
 +|11|OR|Logical Or|
 +|12|XOR|Logical Exclusive Or|
 +
  
en/orderofoperators.txt ยท Last modified: 2016/08/09 17:33 by admin