背景 在对Double类型的数据进行计算操作,将结果转化为BigDecimal时抛出了下面的异常,进行了Debug才发现了问题原因,同时也暴露出了自己在一些基础知识上还有些欠缺. Exception in thread "main" java.lang.NumberFormatException: Infinite or NaN at java.math.BigDecimal.<init>(BigDecimal.java:895) at java.math.BigDecim…
错误: java.lang.NumberFormatException: For input string: "1608020001 " at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at cn.…
1.错误描述 Exception in thread "main" java.lang.NumberFormatException: For input string: "61.13226212525146" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) a…
<select id="sltTreatment" resultType="com.vitaminmd.sunny.core.bo.Treatment"> select * from treatment where TRUE <if test="index == 'A'"> AND ensubject IS NOT NULL AND ensubject <> '' </if> </select…