- 博客(1)
- 收藏
- 关注
转载 Android中 int 和 String 互相转换的多种方法
1 如何将字串 String 转换成整数 int? A. 有两个方法:1). int i = Integer.parseInt([String]); 或 i = Integer.parseInt([String],[int radix]);2). int i = Integer.valueOf(my_str).intValue(); 注: 字串转成 Double
2015-01-08 10:56:00 241
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人