Manual

29
abs
abs
Description
Returns the absolute value of any number.
Usage
AnyNum abs AbsNum
AnyNum Integer or fixed-point. Number from which to return absolute value.
AbsNum Integer or fixed-point. Absolute value of AnyNum. Same object type as
AnyNum.
Comments
The abs operator pops the top object from operand stack, calculates the object's absolute value,
and pushes the result onto the operand stack. The result's type will match the original value's type.