Number Sign node

Left Toolbar > Math icon Math Nodes > Number Sign icon Number Sign

The Number Sign node returns the sign of the Number. The sign function result is: -1 if Number < 0 0 if Number = 0 1 if Number > 0

Procedure

To calculate the sign of the number in the node graph:

  1. On the left toolbar choose Math Nodes Math icon > Number Sign Math Number Sign icon

  2. Drag the Number Sign icon into the Node Graph.

    Math Number Sign node

  3. Connect the Output: result.

Inputs

number A NUMBER type of value.

Outputs

Result The number value. -1 if Number < 0 0 if Number = 0 1 if Number > 0

Attributes Panel

Math Number Sign attributes

Number Number value. This attribute is exposed as input by default.

Math Nodes

Main Page