The following error appears in the simple attached program:
Error occurred on line: 39 (Main)
java.lang.NumberFormatException: Invalid double: "2,000.88"
at java.lang.StringToReal.invalidReal(StringToReal.java:63)
at java.lang.StringToReal.initialParse(StringToReal.java:164)
at java.lang.StringToReal.parseDouble(StringToReal.java:282)
......
Why ??
Error occurred on line: 39 (Main)
java.lang.NumberFormatException: Invalid double: "2,000.88"
at java.lang.StringToReal.invalidReal(StringToReal.java:63)
at java.lang.StringToReal.initialParse(StringToReal.java:164)
at java.lang.StringToReal.parseDouble(StringToReal.java:282)
......
Why ??