Contents:
Get the absolute value of the given argument.
Parameters
type
Description
x
double
The raw value to treat
The absolute value of x
Examples
>>> m=-123 >>> n=123 >>> abs(m) 123 >>> abs(n) 123