Returns a value indicating the sign of the specified number.
Syntax
Smartsite SXML | Copy Code |
---|---|
integer math.sign(float a) |
Parameters
Name | Data Type | Description |
---|---|---|
a | Float | A signed number. |
Return Value
Data Type | Description |
---|---|
Integer | A number indicating the sign of value: -1 ifAis less than zero, 0 ifAis equal to zero, 1 ifAis greater than zero. |