Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Arithmetic operators

&pagelevel(4)&pagelevel

Arithmetic operators are used for performing arithmetic operations on numbers. Thus, arithmetic operators link numbers. Numbers can be specified as numeric literals (equivalent to a numeric constant) or as variables containing a valid numeric value. In complex expressions, arithmetic operators link expressions whose result is a numeric value.

The result of an arithmetic operation is always a numeric (= arithmetic) value, i.e. a number with the data type INTEGER in the range from -231 to +231-1.

Operation

Operator

Addition

+

Subtraction

-

Multiplication

*

Division

/

Modulo

MOD