java.lang.NumberFormatException: For input string: "0.9" 示例代码 字符串转换数字类型转换错误。 不能把"0.9"转成Integer. 因为双精度的数字不能转成Integer, 因为正数才可以转成Integer。 错误示例