Simplify StringUtil.parseNumber