Numeric Operators
Numeric operators function with all numeric values. The following table lists the numeric operators in order of precedence.
Numeric Operators
Operator |
Action |
Code |
---|---|---|
( ) |
Group subexpressions |
(4-3) * (12/nVar2) |
**, ^ |
Exponentiation |
? 3 ** 2 ? 3 ^ 2 |
*, / |
Multiplication and division |
? 2 * 7 ? 14 / 7 |
% |
Modulus (remainder) |
? 15 % 4 |
+, - |
Addition and subtraction |
? 4 + 15 |