Arithmetics

number + number

Adds two numbers.

param1 = 2
param2 = 3
#param1 + #param2
5

number - number

Subtracts two numbers.

param1 = 3
param2 = 2
#param1 - #param2
1

number * number

Multiplies two numbers.

param1 = 2
param2 = 3
#param1 * #param2
6

number / number

Divides two numbers.

param1 = 3
param2 = 2
#param1 / #param2
1.5

Output is a decimal.

number // number

Divides two numbers, rounding towards zero to give a whole number.

param1 = 14
param2 = 5
#param1 // #param2
2

number % number

Returns the remainder of the division x // y, so that x == (x // y) * y + (x % y)

param1 = 14
param2 = 5
#param1 % #param2
4