Returns the absolute value of the specified number.
Copy Code |
---|
double Abs ( |
The absolute value of the specified number. If the specified value is not a number, 0 is returned.
The absolute value of a number is its unsigned magnitude. For example, Abs(-1) and Abs(1) both return 1.