binary value
This block is part of the value group and was last modified in core v14.0.4.
binary value v14.0.4 Converts a boolean/condition to a value (1 for true, 0 for false).
In pins 1
- condition required
conditionThe boolean/condition to convert
Out pins 1
- value
valueReturns 1 if true, 0 if false
Outputs the STRING "1" when condition is boolean true, otherwise the STRING "0" (never numbers). Only an actual boolean true counts; any non-boolean input, including truthy strings or numbers, is treated as false.
condition to value |
bool to value |
boolean to number |
A typical wiring for binary value: == feeds the condition pin; the value out pin feeds convert to uppercase.

Version history
Introduced in v14.0.4.
Back to
value Return to the main group to view all sub-groups Back to value Return to the group to view all blocks within this group
