Skip to main content

Numeric operators

All numeric operators use the numeric values of the operands and return a numeric value as result.

Numeric operators
Operator Description
+ Sign for positive number (unary operator) or arithmetic addition. The binary operation returns the sum of the two operands.
- Sign for negative number (unary operator) or arithmetic subtraction. The unary operation returns the operand multiplied by -1, and the binary the difference between the two operands.
* Arithmetic multiplication. The operation returns the product of the two operands.
/ Arithmetic division. The operation returns the ratio between the two operands.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!