字符串-〉数字
String s;
int i;
i = Integer.parseInt(s);
数字-〉字符串
String s;
int i;
s = String.valueOf(i);
// 或者 s = Integer.toString(i);
本文出自 “zifangsky” 博客,请务必保留此出处http://983836259.blog.51cto.com/7311475/1556762
原文地址:http://983836259.blog.51cto.com/7311475/1556762