1.字符串转化为int型
int intValue=Integer.parseInt(intString)
2.字符串转化为double型
double doubleValue=Double.parseDouble(doubleString)
1.字符串转化为int型
int intValue=Integer.parseInt(intString)
2.字符串转化为double型
double doubleValue=Double.parseDouble(doubleString)
转载于:https://www.cnblogs.com/jiangjh/articles/2075582.html