Nodes > Math > Common > Sign
Returns the sign of the value. A negative value will return -1.0, a positive value 1.0, and 0 will return 0.
Inputs
Name | Type | Description |
---|---|---|
A | float | Value to evaluate |
Outputs
Name | Type | Description |
---|---|---|
sign( A ) | float | Sign of the value (-1 for negative, 0 for zero, and 1 for positive) |
Was this page helpful?