Loading...
Select Version
Function
The sign condition determines whether or not the algebraic value of a numeric operand (that is, an item described as numeric) is less than, greater than, or equal to zero.
Format
{identifier | arithmetic-expression} IS [NOT] {POSITIVE | NEGATIVE | ZERO}
Syntax rule
identifier must refer to a numeric data item.
General rules
identifier or arithmetic-expression identifies the operand to be tested.
POSITIVE, NEGATIVE or ZERO specifies the test to be made.
An operand is positive if its value is greater than zero, negative if its value is less than zero, and zero if its value is equal to zero.