Operators
standard math operators
< : less than
a < b
Result is 1 if
a is less than
b and 0 otherwise.
> : greater than
a > b
Result is 1 if
a is greater than
b and 0 otherwise.
= : equal to
a = b
Result is 1 if
a and
b are equal and 0 otherwise.
! : not equal to
a ! b
Result is 1 if
a and
b are not equal and 0 otherwise.
+ : summation, addition
a + b
Adds the values of
a and
b. The result is the sum of
a and
b.
- : subtraction, difference
a - b
Subtracts
b from
a. The result is the difference of
a and
b.
* : multiplication, product
a * b
Multiplies
a and
b. The result is the product of
a and
b.
/ : division, quotient
a / b
Divides
a by
b. The result is the quotient of
a and
b.
^ or ** : power
a^b
a**b
Takes
a to the power of
b.