Ricky D Well-Known Member Licensed User Longtime User May 3, 2012 #1 Is there a way to tell if a string is an integer? Vb has an Isnumeric function.. Do we have something like that in b4a? Regards Ricky
Is there a way to tell if a string is an integer? Vb has an Isnumeric function.. Do we have something like that in b4a? Regards Ricky
klaus Expert Licensed User Longtime User May 3, 2012 #2 Have a look at IsNumber. Best regards. Upvote 0
bluejay Active Member Licensed User Longtime User May 3, 2012 #3 IsNumber (Text As String) As Boolean Tests whether the specified string can be safely parsed as a number. To test if it is an integer.... Floor (Number As Double) As Double Returns the largest double that is smaller or equal to the specified number and is equal to an integer. ie if X - Floor(X) then .... BlueJay Upvote 0
IsNumber (Text As String) As Boolean Tests whether the specified string can be safely parsed as a number. To test if it is an integer.... Floor (Number As Double) As Double Returns the largest double that is smaller or equal to the specified number and is equal to an integer. ie if X - Floor(X) then .... BlueJay