/sys$common/syshlp/helplib.hlb PASCAL, Expressions, Operators, Arithmetic Operators *Conan The Librarian (sorry for the slow response - running on an old VAX) |
An arithmetic operator usually provides a formula for calculating a value. To perform arithmetic operations, numeric operands are combined with one or more of the arithmetic operators. Arithmetic Operators: operator | example | result -------------------------------------------- + A + B Sum of A and B - A - B B subtracted from A * A * B Product of A and B ** A ** B A raised to the power of B / A / B A divided by B DIV A DIV B Result of A divided by B, truncated toward zero REM A REM B Remainder of A divided by B MOD A MOD B Modulus of A with respect to B
|