Dim HexStr as string = "0E52"
Dim DecStr as string = System.Convert.ToInt32(HexStr, 16).tostring
Console.WriteLine("執行結果")
Console.Write(HexStr + " => " + DecStr)
=============================
執行結果
0E52 => 3666
十六進制的String 轉成 10進制
標籤:
工作。是興趣也是樂趣
訂閱:
張貼留言 (Atom)
張貼者:
0 回覆:
張貼留言