monkey:monkey.math.Abs

Function Abs:T( x:T )

Gets the absolute value of a number.

If x is less than 0, then -x is returned.

If x is greater than or equal to 0, then x is returned.