P
Panhuber Astrid
hi!
can anyone please give me a hint, how to convert a hex-string to an integer?
I know how to convert a decimal string (such as "51", "27", ...):
n = System.Convert.ToInt32(str);
But how to convert a hex string (such as "4C" or "0x4C")? If I use the same
function, it throws me an exception.
Thanks in advance,
astrid
can anyone please give me a hint, how to convert a hex-string to an integer?
I know how to convert a decimal string (such as "51", "27", ...):
n = System.Convert.ToInt32(str);
But how to convert a hex string (such as "4C" or "0x4C")? If I use the same
function, it throws me an exception.
Thanks in advance,
astrid