I hope someone can help me with this. I have an array, with elements containing hex numbers,
for instance, one element might have 604a in it, being a hexadecimal number. How can I convert this to an integer value? I have tried casting it to (int) but it doesnt seem to convert it right. Could it be that it is typecasting the /string/ value of 604a to integer, instead of the hex value.
If someone can recommend a good way to convert hex numbers to 16bit integers I would be very grateful.
Thanks!