Category: Arithmetics
Since engine version: 1.0 OC
Abs
Description
Returns the absolute value of the given parameter, ignoring the sign of the value.
Syntax
int Abs(int value);
Parameter
- value:
- Absolute coordinate you want to convert to a relative coordinate.
Example
Abs(-12) == Abs(12) == 12
This expression is
true
.