B4R Question Get Json from server, where is Value 16766032, convert to Uint

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends,

In process_globals I have:
B4X:
Dim myulongvalue As ULong

via JSON I get:
B4X:
GetTextValueFromKey(jsontext, "myvalue", 0, buffer, MaxSize)
Dim ii As String = bc.StringFromBytes(buffer)
Log("Value is =",ii)
I am reading right value in log: 16766032

but how can I convert this value to Ulong, please?
B4X:
 myulongvalue = ii

Best regards
p4ppc
 
Last edited:
Top