NumKit.java
322 字节
package tools;
/**
* Depiction:
* <p>
* Modify:
* <p>
* Author: William Lynn
* <p>
* Create Date:2018年6月7日 下午6:25:16
*
*/
public class NumKit {
public static int parseString2Int(String str) {
int num = 0;
try {
num = Integer.parseInt(str);
} catch (Exception e) {
}
return num;
}
}