[Number] abs | Manual

[Number] abs

Returns the absolute (unsigned, positive) value of the number.
Usage:


 x := -7.
 y := x abs. #y will be 7

 The example above strips the sign off the value -7 resulting
 in 7.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.