Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
ABS Function (DataBasic) (m618703+abs_f.htm)
Generate the absolute (positive) numeric value of an expression.
ABS(expression)
expression An expression that evaluates to a numeric value.
A = 100
B = 25
C = ABS(B-A)
Assigns the value 75 to variable C.
A = ABS(Q)
Assigns the absolute value of variable Q to variable A.
X = 600
Y = ABS(X-1000)
Assigns the value 400 to variable Y.
X = -10
Y = ABS(X)
Assigns the value 10 to variable Y.