Calculates the absolute value of a number.
Math,Abs,<DestVar>,<Value>
Argument | Description |
---|---|
DestVar | The variable where the result will be stored. |
Value | Number. |
None.
[Main]
Title=Math-Abs Example
Description=Show usage of the Math,Abs Command
Author=Homes32
[Variables]
[Process]
Math,Abs,%result%,-32
Message,"Absolute value of -32 = %result%"