Need to convert ascii value to hex value
- by SA
Hi,
I need to convert ascii to hex values. Refer to the Ascii table but I have a few examples listed below:
ascii 1 = 31
2 = 32
3 = 33
4 = 34
5 = 35
A = 41
a = 61 etc
But I am using int instead of string values. Is it possible to do that.
Therefore int test = 12345;
Need to get the converted i = 3132333435