Method
Xojo.Math.Abs
Warning
This item was deprecated in version 2020r2. Please use Abs as a replacement.
Description
Returns the absolute value of a number.
Sample code
Get the absolute values:
Using Xojo.Math
Dim d As Double
d = Abs(23.9) ' returns 23.9
d = Abs(-23.9) ' returns 23.9
Compatibility
All project types on all supported operating systems.