使用Integer.parseInt()将字符串 “-6”转换成整数时报错
我尝试去空格,使用Integer.valueOf,都报同样的错,请问这是什么原因?
-6转Integer应该没问题,有整体的代码么