Description
Wiki Description
Calculates the absolute value of the number it is given.
Documentation Comment
Calculates the absolute value of the passed in value - N for N, and N for (-N)
Caveats
Parameters
floatafValue
CK Wiki Description
The value to get the absolute value of.
Examples
float x = math.abs(5.0) ; x == 5
float y = math.abs(-5.0) ; y == 5Auto-Generated Example
float myFloat__afValue
float returnedValue = Math.abs(myFloat__afValue)