摘要: 如何将字串 String 转换成整数 int?1). int i = Integer.parseInt([String]); 或  i = Integer.parseInt([String],[int radix]);2). int i = Integer.valueOf(my_str).intValue();注: 字串转成 Double, Float, Long 的方法大同小异.如何将整数 in... 阅读全文
posted @ 2009-12-15 12:49 吴勇寿 阅读(336) 评论(0) 推荐(0) 编辑