Hi!
Consider this string: 637406139915958403 and this: 637406139915958402
using this sub:
returns 637406139915958400 in both strings.
Why??
Consider this string: 637406139915958403 and this: 637406139915958402
using this sub:
B4X:
Sub CI(str As String) As Long
If IsNumber(str) Then
Try
Dim ret As Long
ret = str
Return ret
Catch
Return 0
End Try
Else
Return 0
End If
End Sub
Why??