Sub Abs($i As Integer) As Integer


Returns the absolute value of the specified number.


Parameters


  • $i ... Any numeric data type.


Example:

Dim $i

$i = Abs(-1000)
' returns $i = 1000