Calculates the absolute value.
double fabs (double x);
Required Header |
<math.h> |
Return Value
This function returns the absolute value of a double.
Parameters
x
The value to be converted
Remarks
The abs function returns the absolute value of x.