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