Skip to content

BoolToInt

in Lib.numbers.bool.convert

Returns different integer values depending on if a boolean is true or false. With its default values, it converts a boolean into 0 for false and 1 for true.

Input Parameters

Name (Relevancy & Type) Description
BoolValue (Boolean)
ResultForFalse (Int32)
ResultForTrue (Int32)

Outputs

Name Type
Result System.Int32