This function returns the absolute value of x.
double abs(double x)
Note: the Origin C abs function is prototyped as int abs(int x).
x
Returns the absolute value of x.
abs(2.5)=; //ABS(2.5)=2.5 abs(-2.5)=; //ABS(-2.5)=2.5 abs(0)=; //ABS(0)=0 abs(0/0)=; //giving a missing value, ABS(0/0)=--