abs¶
Get the smallest integer that is greater than or equal to the argument
Parameters:
| No. | Type | Comments |
|---|---|---|
| 1 | Any numeric type | Value to convert to absolute value |
Returns:
Numeric type - Absolute value in the same datatype as input
Usages:
abs( v : short ) : shortabs( v : int ) : intabs( v : long ) : longabs( v : double ) : double