例如:”00001203” (字符串必须全为数字) 处理过程: String tempStr = "00001203"; int result = Integer.parseInt(tempStr); result 结果:1203 原文地址