Arithmetic Operators

Below is a list of arithmetic operators, according to the operators priority, starting from the operator with the highest priority:

Operators can be applied to various types of operands. If there is no "/" operator in the expression, the type of the result is defined by the type of the operand, which includes the types of other operands. If the "/" operator exists in the expression, the type of the returned expression is real.

On executing MOD and DIV operators for real data operands the result will be of the real data type.

See also:

Fore Language Guide | Unary Operators | Logical Operators