Sign
Returns the sign of a number: -1 for negative, 0 for zero, 1 for positive.
Pure Function
Yes
Execute Inputs
Execution
INPUTExecution Input.
Data Inputs
Value
INPUTInput value to get the sign of.
Data Outputs
Result
OUTPUTinteger
The sign: -1, 0, or 1.
Multiple
Settings
Return Type
STRINGSpecifies the numeric return type: DEFAULT, INT, LONG, FLOAT, or DOUBLE.
Default: DEFAULT
Options:
DEFAULTINTLONGFLOATDOUBLE
Debug
STRINGBreak on node when executing.
Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing