- String to Integer
int i = Integer.parseInt(s);
long l = Long.parseLong(s);
String.valueOf(int)
- Integer to String
Integer.toString(int)
int i = Integer.parseInt(s);
long l = Long.parseLong(s);
String.valueOf(int)
Integer.toString(int)
本文标题:String <=> Integer conversion
本文链接:https://www.haomeiwen.com/subject/qursdctx.html
网友评论