I want to enter a number into a text box that's already set for numeric input, then get its actual numeric value into a variable for numeric operations. What I'm doing now is this:
This works ok for most of what I'm doing, but when I try to do this,
It doesnt catch it even if the number entered is higher than 999999999999. What am I missing?
B4X:
dim aVariable as long
aVariable = EditText.text
This works ok for most of what I'm doing, but when I try to do this,
B4X:
If aVariable > 999999999999 Then
Msgbox("Please enter a number of 999999999999 or less", "Invalid Input")
end if
It doesnt catch it even if the number entered is higher than 999999999999. What am I missing?