Boolean to Integer

 
 
 

Categories

  • Conversion

Description

Outputs a new integer built by converting the input Boolean to an integer representation: a false value is converted to 0 while the true value is converted to 1.

Ports

Inputs

Boolean

The Boolean to convert.

Outputs

Integer

The integer representation of the input Boolean.