Arithmetic operators allow you to complete numeric operations, such as addition and
subtraction.
Table 1. Arithmetic operators
Operator |
Description |
Addition (+) |
The + operator
adds a number to another. |
Subtraction (-) |
The - operator
subtracts a number from another. |
Multiplication (*) |
The * operator
multiplies a number with another. |
Division (/) |
The / operator
divides a number by another. |
Exponentiation (**) |
The ** operator
calculates an exponentiation. |
MOD |
The MOD operator
calculates the modulus. |