Sign operation returns 1 for the positive integer and -1 for negative integer.
Select sign(24),sign(-24) from dual; Output 1 -1