HELPLIB.HLB  —  PASCAL  Expressions  Operators  Arithmetic Operators
  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
Close Help