摘要: int i = 12345; String s = String.valueOf(i); String s1 = Integer.toString(i); //最容易的 String s2 = i + ""; System.out.println(s.length()); 阅读全文
posted @ 2018-05-03 14:05 马鞍山 阅读(661) 评论(0) 推荐(0) 编辑