HELPLIB.HLB  —  CRTL  abs
    Returns the absolute value of an integer.

    Format

      #include  <stdlib.h>

      int abs  (int x);

1  –  Argument

 x

    An integer.

2  –  Return Value

    x                  The absolute value of the input argument. If
                       the argument is LONG_MIN, abs returns LONG_
                       MIN because -LONG_MIN cannot fit in an int
                       variable.
Close Help