The Absolute function returns the absolute value of the specified value.
Syntax | ||||
Absolute(Value) | ||||
Return value | ||||
Type |
Description | |||
Double |
The absolute value of the parameter Value | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Value |
Double |
ByVal |
Value to retrieve the absolute value. |
Example
Dim ix As Double, iy As Double
ix := -4
iy := Absolute(ix)
iy has now the value 4.