Hi B4X Team,
did I something wrong or why does this code converting wrong?
"stemp2" is still 32589957803099334
it is adding 2 and I dont know why
Investigated long time debugging to find the problem
the type "long" is up to 9,223,372,036,854,775,807 right?
I'm using B4A 10.70
Many thanks for support
Awesome B4A, did a lot with it already
did I something wrong or why does this code converting wrong?
wrong convert?:
Dim SyncID As Long = 0
Dim JobTagStr As String = "test_32589957803099334"
Dim stemp2 As String = JobTagStr.SubString(JobTagStr.LastIndexOf("_")+1)
If stemp2 <> "" And IsNumber(stemp2) Then
SyncID = stemp2 'wrong convert : SyncID is 32589957803099336
End If ' instead of 32589957803099334
"stemp2" is still 32589957803099334
it is adding 2 and I dont know why
Investigated long time debugging to find the problem
the type "long" is up to 9,223,372,036,854,775,807 right?
I'm using B4A 10.70
Many thanks for support
Awesome B4A, did a lot with it already