2014年3月17日

十六进制转十进制

摘要: public class HexToInteger { public static void main(String[] args){ int cid = 78823423; System.out.println((short)0x00000FFFF); //-1 System.out.println(cid & (short)0x00000FFFF); //78823423 System.out.println(cid & 0x00000FFFF); //49151 System.out.println(Integer.parseInt(Integer.toHexString 阅读全文

posted @ 2014-03-17 10:36 leihupqrst 阅读(202) 评论(0) 推荐(0)

导航