xs_sign

Синтаксис

stock xs_sign(num)

Употреба

num
Number to get the sign from.

Описание

Gets the sign of a value.

Връщаща стойност

-1 if the number is negative,
0 if the number is equal to 0,
1 if the number is positive.