Abs Function
Syntax
Abs(Num)
Group
Description
Return the absolute value.
Parameters
Parameters | Description |
---|---|
Num | Return the absolute value of this numeric value. If this value is Null then Null is returned. |
See also
Sub Main Debug.Print Abs(9) ' 9 Debug.Print Abs(0) ' 0 Debug.Print Abs(-9) ' 9 End Sub