3.2.46. SIGN(number) Returns either -1, 0 or 1, depending on whether number is negative, zero, or positive, respectively. Number must be a valid REXX number, and are normalized according to the current settings of NUMERIC before comparison. SIGN(-12) –> ‘-1’ SIGN(42) –> ‘1’ SIGN(-0.00000012) –> ‘-1’ SIGN(0.000) –> ‘0’ SIGN(-0.0) –> ‘0’
PREV NEXT