public static Integer parseInteger(String string, ExcelContentProperty contentProperty) throws ParseException {
        if (!hasFormat(contentProperty)) {
            return new BigDecimal(string).intValue();
        }
        return parse(string, contentProperty).intValue();
    }
parse Integer from string

@param string          An integer read in string format
@param contentProperty Properties of the content read in
@return An integer converted from a string
fastexcel-core/src/main/java/cn/idev/excel/util/NumberUtils.java