K Kamac Active Member Licensed User Longtime User Sep 9, 2011 #2 Uhm... Why would you want to check it? It's useless Upvote 0
Brad Active Member Licensed User Longtime User Sep 10, 2011 #3 IsNumber(Text as string) as Boolean Upvote 0
bluejay Active Member Licensed User Longtime User Sep 10, 2011 #4 If number = Floor(number) then 'number is an integer Upvote 0
margret Well-Known Member Licensed User Longtime User Sep 11, 2011 #5 Mikie said: Is there any "is integer" test in b4a? Click to expand... Hello, You can use my string functions to do this. Test your variable as: B4X: If s.val(myvar)> 0 then '** Your Code Here End If myvar can be any string and if there is a value in it, s.val() will pull it out. You can download it at: http://www.b4x.com/forum/basic4android-getting-started-tutorials/10365-string-functions.html Thanks, Margret Upvote 0
Mikie said: Is there any "is integer" test in b4a? Click to expand... Hello, You can use my string functions to do this. Test your variable as: B4X: If s.val(myvar)> 0 then '** Your Code Here End If myvar can be any string and if there is a value in it, s.val() will pull it out. You can download it at: http://www.b4x.com/forum/basic4android-getting-started-tutorials/10365-string-functions.html Thanks, Margret