As the title says... Chat on...

User avatar
By exadra
#55768 Hello all.
can you help with this one? I have an array with an hexa value inside that I must convert to int

array={]
array[1]="F0"
data=0

data=tonumber(array[1])

tonumber just works if values in the string are integer and not hexa

Thanks