Abs
From AutoIt Wiki
Abs calculates the absolute value of a number. Adapted from AutoIt docs.
Contents |
Syntax
$x = Abs(expr)
Parameters
| expr | Any valid numeric expression. |
Return Value
Returns the absolute value of expr.
String values return zero.
Example
$var = Abs(-123.45) ; $var = 123.45