Hehe. Title maybe confusing but I need help on a string "F" to be converted to value 15. Something like "F".ToString("D") doesn't work... Any help?
Thanks.
Printable View
Hehe. Title maybe confusing but I need help on a string "F" to be converted to value 15. Something like "F".ToString("D") doesn't work... Any help?
Thanks.
I assume that you mean F as in the hex digit. To convert a hexadecimal string to a number you use Convert.ToInt32(hexString, 16)
Thanks JM!