为什么字符串转不了INT类型
如下代码:
try {
    int k = Integer.parseInt("1.25");
} catch (NumberFormatException e) {
    System.out.println("数据格式不对!");
}