G Guest Oct 19, 2006 #1 does anyone know how to convert from Int16 or short to Hexadecimal and vise versa?
T Truong Hong Thi Oct 19, 2006 #3 Oh, I forgot to mention. To convert a hex string to Int16: Int16.Parse("20", System.Globalization.NumberStyles.HexNumber); That returns 32. Note that it fails if the string prefixed with "0x".
Oh, I forgot to mention. To convert a hex string to Int16: Int16.Parse("20", System.Globalization.NumberStyles.HexNumber); That returns 32. Note that it fails if the string prefixed with "0x".