OPERATORS
Arithmetic Operators
| Operator | Type | Description |
|---|---|---|
| + | Add | Calculates the sum of two numbers. |
| - | Subtract | Calculates the difference between two numbers. |
| * | Multiply | Calculates the product of two numbers. |
| / | Divide | Calculates the quotient of two numbers. |
| % | Mod | Calculates the remainder of two numbers. |
Comparison Operators
| Operator | Type | Description |
|---|---|---|
| == | Equal | Evaluates if two values are equal. |
| != | Not Equal | Evaluates if two values are different. |
| < | Less Than | Evaluates if the first value is smaller than the second. |
| > | Greater Than | Evaluates if the first value is larger than the second. |
| <= | Less Than or Equal | Evaluates if the first value is smaller or equal to the second. |
| >= | Greater Than or Equal | Evaluates if the first value is larger or equal to the second. |
Logical Operators
| Operator | Type | Description |
|---|---|---|
| && | AND | Evaluates to TRUE if both conditions are true. |
| || | OR | Evaluates to TRUE if at least one condition is true. |
Other Operators
| Operator | Type | Description |
|---|---|---|
| () | Parentheses | Defines the order in which expressions are evaluated. |
| & | Concatenate | Joins two or more strings together into a single string. |