HELP! How to convert string expression to number?

edgeryder1000

Member
Licensed User
Longtime User
:sign0163: HELP!

So I have an expression in string form that I need to have as an integer. Does anyone know how to do it?

B4X:
lbl.Text = "1+2"
Result = lbl.Text

This code gives a javascript error
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…