abs

abs

> Functions

Returns the absolute value of the number number.

Parameters
Return
Notes

The expression abs(x) is equivalent to x > 0? x : -x.

Examples