Hey!
I have a question about how to switch from integer to boolean
To clarify, for example: when my int is {0} so the bool is {no}, but when the int is 100 so the bool with be {yes}.
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
switch from int to bool
Moderator: Support
Re: switch from int to bool
Put your int into a bool variable. 0 = false, everything else = true.
Re: switch from int to bool
Or use Bool Expression
Connect your int to "A"
and change the Expression to
(Bool Expressions are quite nice because they also give you two event outputs (True, False) with every validation. This saves a lot of event nodes and inverts. Plus You don't have to write the output values like "A==100?1:0" in an Int Expression because there is just true and false)
Connect your int to "A"
and change the Expression to
Code: Select all
A==100