0
Arithmetic operators
Create simple arithmetic operations
These operators let you take 2 numeric values, perform a calculation, and return a numeric value. This is mainly about basic arithmetic operations.
Operator | Description | Example |
---|---|---|
+ |
Addition (also for joining text) | 1 + 2 = 3 |
- |
Subtraction | 3 - 2 = 1 |
* |
Multiplication | 2 * 3 = 6 |
/ |
Division | 6 / 3 = 2 |
% |
Modulo | 13 % 5 = 3 (13 / 5 = 2 Reminder 3) |
() |
Parentheses (to change the order in which expressions are processed) | 1 |
Ninox removes superfluous parentheses—following the precedence rule "first the division, then the addition"—and superfluous white spaces. However, Ninox also adds white spaces where they are deemed useful, e.g., for better readability.
More about automatic adjustments
Reply
Content aside
Related Articles