Closed MaelkMark closed 4 months ago
I think this exists in more comparisons as () < () < ()
I think this exists in more comparisons as
() < () < ()
Oh, I didn't know. However I think it would be practical to have such a block in the math extension too - you don't have to add the more comparisons ext. (I've added that block because I needed a block like that in my project)
I second that as well, adding both is often tedious.
you have to use Cast.compare or this will break horribly when it gets a string containing a number instead of an actual number
Thanks for the correction and adding the blocks to the extension!
I've added a new boolean block that checks whether a number is in a given range.
<A is in range B - C>
block opcode:
is_in_range_block