How can we convert a list of string values into numbers so that they can be used in comparisons like: is -32 <= 28.525?
If you literally have numbers as text as shown, in a block already, you can probably get away with that, App Inventor should recognise the text as being numerical.
Use the blue comparison blocks.
Thanks, it didn’t work before, but is working now.
Another trick is to convert the number string in base 10 to hex and then hex to base 10. AI2 then processes it as a number
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.