Hi
I am not able to convert a string in to a number
The string is "0x416" and I want to convert into a int
This woks:
But I have the "number" in a text file. I read the "number" from text file but does not work
and this is the error
How can I solve it??
Thx in advance
I am not able to convert a string in to a number
The string is "0x416" and I want to convert into a int
This woks:
B4X:
Dim vendor As Int = 0x416
But I have the "number" in a text file. I read the "number" from text file but does not work
and this is the error
B4X:
java.lang.NumberFormatException: Invalid hex double:0x416
How can I solve it??
Thx in advance