Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Sign condition

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

  1. identifier must refer to a numeric data item.

General rules

  1. identifier or arithmetic-expression identifies the operand to be tested.

  2. POSITIVE, NEGATIVE or ZERO specifies the test to be made.

  3. 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.