Rope Language Reference - "abs"

The "abs" action word returns the absolute value of the value on the top of the stack.

If AnchorBrackets syntax is used, only one argument must be passed.

Some examples that print "10" ...

10 abs println
-10 abs println
10 neg abs println
println(abs(-10))
println(abs(10 neg))

See Also

neg