$abs

Calculates the absolute values of all the given numbers.
Syntax
    $abs{numeric_value_1}{numeric_value2}...{numeric_value_n}
DocumentationReturns the absolute value of the argument values separated by the whitespace character.
If an argument is not negative, the argument is returned. If the argument is negative, the negation of the argument is returned.
Examples
Check if the value of a numeric variable is positive:

    $set{number}{-10}
    if{$equals{$get{number}}{$abs{$get{number}}}}
      {
      $//Number is positive
      }
      {
      $//Number is negative
      }
GroupMath
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters <unlimited>