会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
吴勇寿
yongsoo
博客园
首页
新随笔
联系
订阅
管理
2009年12月15日
类型转换
摘要: 如何将字串 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)
编辑