Skip to main content
Version: 5.x

Nodes > Math > Common > Sign

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

NameTypeDescription
AfloatValue to evaluate

Outputs

NameTypeDescription
sign( A )floatSign of the value (-1 for negative, 0 for zero, and 1 for positive)
Was this page helpful?
Yes
No