latest
Tools
Boolean To Number

Convert input boolean value to number

ID

662ae72910b6cb87640c91ed

Name

Boolean To Number

Group

Tools

Package

Math

Keywords

boolToNum
bc

Operators

Trigonometric

Tools

Constants

Creation method

There are two options for creating a node.

  • The first way to create a 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.
    • boolToNum , bc
  • The second way is to select a node from the menu that opens from the top left.
    • Menu > Math > Tools > Boolean To Number

Steps

  • Create node.
  • Connect the value you want to convert to 0 or 1 to the port.

After creating a node, connect the value that you want to convert to either 0 or 1 to the port.

See also

Condition
Boolean Converter

Inputs

NameTypeDescriptionDefault Value
condition
Any
Input value

Outputs

NameTypeDescription
number
Number
Return 0 or 1