abs

Example: absMathematics Functions

Gets the absolute value of an integer.

int abs( int n);

n An integer.

Return Values

The absolute value of the integer.

For abs details, refer to your C language documentation.