Arithmetic operators
Arithmetic operators allow you to complete numeric operations, such as addition and subtraction.
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. |