Dim HexStr as string = "0E52"
Dim DecStr as string = System.Convert.ToInt32(HexStr, 16).tostring
Console.WriteLine("執行結果")
Console.Write(HexStr + " => " + DecStr)

=============================
執行結果
0E52 => 3666

ishaun 發表在 痞客邦 PIXNET 留言(0) 人氣()