M Mitch Member Licensed User Longtime User Aug 22, 2013 #1 IsNumber(55555) = true IsNumber(55,555) = false I'm using an editText view, not numerics. This is just to show the issue. Is there any way around this? Thanks in advance.
IsNumber(55555) = true IsNumber(55,555) = false I'm using an editText view, not numerics. This is just to show the issue. Is there any way around this? Thanks in advance.
M Mahares Expert Licensed User Longtime User Aug 22, 2013 #2 B4X: txtTest.Text="55,555" If IsNumber(txtTest.Text.Replace(",","")) Then Msgbox("I am a number","") Else Msgbox("Not a number","") EndIf Upvote 0
B4X: txtTest.Text="55,555" If IsNumber(txtTest.Text.Replace(",","")) Then Msgbox("I am a number","") Else Msgbox("Not a number","") EndIf