String 类型的数据强转成int的方法

    有2个方法:
1). int i = Integer.parseInt(str);
2). int i = Integer.valueOf(str).intValue();
原文地址:https://www.cnblogs.com/gpxs/p/12066362.html