Usage
Syntax: abs(float)
Returns number.
Explanation
Converts the input into an absolute value, essentially transforming negative numbers into positive ones. This does not "round" the number or remove decimal places.
Example
function onCreated()
{
temp.a = abs(-6);
}... will set temp.a to 6.
Categories
CategoryFunctionClientside
CategoryFunctionServerside