Math

Boolean To Number

Tools

Convert input boolean value to number

Docs for v2.1.16, the latest version.

ID

math-tools-boolean-to-number

Group

Tools

Plugin

Math

Keywords

boolToNum
bc

Boolean To Number

Tools

1 input, 1 output

Ports

Inputs

1

What the node takes in, from wires or typed values.

Condition

Any

Input value

Outputs

1

What the node gives out, to wire into other nodes.

Number

Number

Return 0 or 1

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

History

First documented in v2.1.16

Oct 20, 2026

Versions before it were published before changes were recorded.