Integer to Boolean

 
 
 

Categories

  • Conversion

Description

Outputs a new Boolean built by converting the input integer to a Boolean representation: 0 is converted to false; all other integer values are converted to true.

Ports

Inputs

Integer

The integer to convert.

Outputs

Boolean

The Boolean representation of the input integer.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License