Android Question error while converting string to int

gjoisa

Active Member
Licensed User
this is happening in new version . while converting big numbers from string to int wrong output is shown . Is it a bug ?
B4X:
Dim i,j,k As String
    Dim c,d As Int
    i = "7109432105423567"
    j = "81245"
    c = i
    d = j
    Log(c)
    Log(d)
the result shown is 2147483647 and 81245 .
 

DonManfred

Expert
Licensed User
Last edited:
Top