Returns the absolute value of the expression dx.
[ dResult = ] Abs ( dx )
The Abs procedure syntax has the following parts:
|
Name |
Type |
Description |
|
dResult |
Double |
Result |
|
dx |
Val Double |
Input value |
dx must be a numeric expression (double/integer). Abs also operates on integer and floating point variables.
dx = -5.1
df = Abs(dx)
! now dx is -5.1 and df is 5.1