I've got a EditText box set up for numbers only, into which a height number is typed.
When I try read the content, I imagine it will be casted automatically.
However, I get a crash on the second line below, 'Invalid Double'.
What is the correct way do this, use a stringToInt function?
When I try read the content, I imagine it will be casted automatically.
However, I get a crash on the second line below, 'Invalid Double'.
B4X:
Dim height as int
height = heightText.Text
What is the correct way do this, use a stringToInt function?