large value

  1. mcorbeel

    Android Question Convert string to long issue

    I am trying to convert a string of digits to a long value. On B4i it works fine, but on B4X it does not. Dim t As String = "405006951190111400" Log("t=" & t) Dim i As Long = t Log("i=" & i) This gives: t=405006951190111400 i=405006951190111424 Why is the i value different? How can I fix this?
Top