![]() ![]()
|
– Unary negative operator
Reverses the sign of a numeric expression. Do not confuse this operator with the subtraction operator that subtracts one expression from another.
Syntax
expressionExampleIf you supply a negative value for the variable
fx, ther-uneg.pprocedure uses the unary negative operator (-) to reverse the sign offx, producing the absolute value offx(fabs-x).
See also
![]() |
OpenEdge Release 10.2B
|
![]() ![]()
|