B4X:
Dim along As Long = 40000000000000100
Dim along2 As Long = 40000000000000000
If (along = along) Then
Log("along is equal to itself")
else
Log("along is not equal to itself")
End If
If (along2 = along2) Then
Log("along2 is equal to itself")
else
Log("along2 is not equal to itself")
End If
this code output :
along is not equal to itself
along2 is equal to itself
I don't understand what is my mistake. If someone can explain me, thank you very much.