Almost looks like the values are first converted to a Double and then to an Int a Long
B4X:
Dim one As String = "637406139915958402"
Dim two As String = "637406139915958403"
Dim double1 As Double = one
Dim double2 As Double = two
Log($"$18{double1}"$)
Log($"$18{double2}"$)