latest
Operators
Sign

Returns either a positive or negative +/- 1, indicating the sign of a number passed into the argument. If the number passed is 0, it will return a +/- 0

ID

662ae72910b6cb87640c91cb

Name

Sign

Group

Operators

Package

Math

Keywords

sign

Operators

Trigonometric

Tools

Constants

Creation method

There are two options for creating a Sign node.

  • The first way to create a Sign node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • sign
  • The second way is to select a Sign node from the menu that opens from the top left.
    • Menu > Math > Operators > Sign

Steps

  • Create a Sign node.
  • Connect to the port the number whose either a positive or negative want to get.

See also

Floor
Round
Opposite

Inputs

NameTypeDescriptionDefault Value
x
Number
Input value

Outputs

NameTypeDescription
sign
Number
Out +/- 1 or +/- 0