A few ideas for custom behaviors:
-
Adding ToNumber
-
Adding and for if statements, either using the word and or &&
if (num1 == 4 && num2 == 0) {
setOut(1);
}
-
Adding or for if statements, either using the word or, or ||
if (num1 == 4 || num2 == 0) {
setOut(1);
}
JR01
2
Custom behavior uses Haxe, so you can already do everything your asking for.
- Std.parseFloat( ) - Converts text to float
- Those should work as you written them, && and || should work.
- You can also do conditional if statements, such as:
setOut(num==4 && num2==0? 1:0)
1 Like
Oh ok, I was assuming you could only really do the things shown in the How does this work thing, thank you for telling me that.