| Operator | Behaviour |
|---|
+ or plus | Adds numbers together |
– or minus | Subtracts the second number from the first |
x or * or multiplied by | Multiplies numbers together |
/ or ÷ or divided by | Divides the first number by the second number |
^ or ** or to the power of | Raises the first number to the power of the second number |
mod | Gives you the remainder after a division |
Notes CalculatorCalculation example| Calculation | Result |
|---|
11 plus 1 | 2 |
26 minus 3 | 3 |
32 multiplied by 3 | 6 |
48 divided by 2 | 4 |
52 to the power of 3 | 8 |
611 mod 2 | 1 |
A bracketed group written next to a value multiplies it, with or without a
space between them:
Notes CalculatorCalculation example| Calculation | Result |
|---|
15 (2+3) | 25 |
25(2+3) | 25 |
32(3) | 6 |
4(2+3)(4+5) | 45 |
5(2)(3)(4) | 24 |
It multiplies at the same level as x and /, from left to right, so:
Notes CalculatorCalculation example| Calculation | Result |
|---|
11 + 2 (3) | 7 |
26 / 2(3) | 9 |
32(3)^2 | 18 |
4-2(3) | -6 |
If the brackets don’t contain a calculation they are a note instead, and are
ignored: 100 (rent) is 100. See
Headings and Comments.
A leading minus applies to the whole power or factorial that follows it, the
way it does in maths textbooks and in the system calculator:
Notes CalculatorCalculation example| Calculation | Result |
|---|
1-3^2 | -9 |
2-3! | -6 |
35 * -3^2 | -45 |
42^-3 | 0,13 |
5-(2+3) | -5 |
6- 3 + 5 | 2 |
7--3 | 3 |
The typographic minus sign − (the one word processors often produce)
works everywhere the plain - does, so pasted text calculates:
Notes CalculatorCalculation example| Calculation | Result |
|---|
15−3 | 2 |
210 + −5 | 5 |
33 × −2 | -6 |
410 − −5 | 15 |