sign property

Integer sign

Returns minus one, zero or plus one depending on the sign and numerical value of the number.

Returns minus one if the number is less than zero, plus one if the number is greater than zero, and zero if the number is equal to zero.

Implementation

Integer get sign;