我写了一小段代码:
BigDecimal nummer = new BigDecimal("8340337220.0");
BigDecimal denominator = new BigDecimal("17.O");
BigDecimal result = nummer.divide(denominator);
System.out.println(result);
在eclipse中运行它后,它给了我:
Exception in thread "main" java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:459)
at java.math.BigDecimal.<init>(BigDecimal.java:728)
at main.main(main.java:10)
有人能帮我吗?