stock
xs_fsign
Syntax
stock xs_fsign(Float:num)
Description
Gets the sign of a float value.
Parameters
| num | Number to get the sign from. |
|---|
Return
-1 if the number is negative,
0 if the number is equal to 0,
1 if the number is positive.
stock
stock xs_fsign(Float:num)
Gets the sign of a float value.
| num | Number to get the sign from. |
|---|
-1 if the number is negative,
0 if the number is equal to 0,
1 if the number is positive.