怎样把String变量里的数值型字符串转换成数值型例如 String a= "232 "; 怎样把a的值转换成int型值?[解决办法]String test = "23 "; int x = Integer.parseInt(test); System.out.println(x);