I believe this is a fairly common problem; there is no way to easily convert string values to float or int values. You can use join with only one input to convert float or int to string. The only way to convert string to float or int is:
intvariable = (if(stringvariable = "1"), then(1), else(if(stringvariable = "2"), then(2), else(3)))
I don't see a need for this.
AI2 has Duck Typing.
If it looks like a number, AI2's math blocks will treat it like a number.
1 Like
Use the multiplication math block and multiply the strings by 1. The output will be the number without the """.
1 Like
If you are only moving inside ai2 this is not a problem. The problem can arise when you are writing values to an external database and this database is used somewhere else. AppInventor simplified it but is it good? I don't know...it's definitely not compatible with other languages.
1 Like