java.lang.NumberFormatException: Infinite or NaN
1、异常提示: java.lang.NumberFormatException: Infinite or NaN


2、原因:无法格式化的数字,此数字要么不是个数字,要么是无穷大的数字,从而导致 BigDecimal 无法对其解析。



3、解决办法:检查传入到 BigDecimal  的参数是不是数字,或者数字中含有空格。
java.lang.NumberFormatException: Infinite or NaN

 

java.lang.NumberFormatException: Infinite or NaN
1、异常提示: java.lang.NumberFormatException: Infinite or NaN


2、原因:无法格式化的数字,此数字要么不是个数字,要么是无穷大的数字,从而导致 BigDecimal 无法对其解析。



3、解决办法:检查传入到 BigDecimal  的参数是不是数字,或者数字中含有空格。
java.lang.NumberFormatException: Infinite or NaN

 

相关文章:

  • 2022-12-23
  • 2022-01-09
  • 2021-10-18
  • 2021-08-08
  • 2022-03-01
  • 2022-12-23
  • 2021-06-29
猜你喜欢
  • 2022-12-23
  • 2021-08-23
  • 2021-09-18
  • 2021-07-18
  • 2021-12-30
  • 2022-12-23
相关资源
相似解决方案