Java 使用 Integer.decode() 將十六進位制短字串轉換為 int; 使用 Long. ... String hex = "0x2fd"; int convertedValue = Integer.decode(hex); ...
確定! 回上一頁