Arithmetic Operators

Top  Previous  Next

The following customary symbols can be use in arithmetic expressions:

 

Operator

Action

 

-

Unary negate, Forms the negative of a single operand

 

+

Binary add, Forms the sum of two operands

 

-

Binary subtract, Forms the difference of two operands

 

*

Binary multiply, Forms the product of two operands

 

/

Binary divide, Divides the first operand by the second

 

^

Binary power, Raises the first operand to the second power

 

**

Binary power, Alternative to ^