Abs Function

Returns the absolute value of the number specified.

Syntax
result = Abs( value )

Parameters
value | Double | The number you wish the absolute value of.

Return Value
Result | Double | The absolute value of value.

# Notes

The Abs function returns the positive equivalent of the value specified.

# Examples

These examples use the Abs function to return the absolute values of the numbers specified.

Dim d as Double
d=Abs(23.9) //returns 23.9
d=Abs(-23.9) //returns 23.9

# See Also

Sign function.