MarcoGervasoni / gwt-math

Automatically exported from code.google.com/p/gwt-math
0 stars 0 forks source link

BigDecimal does not extend Number #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a instance. BigDecimal bigDecimalnumber = new BigDecimal("12.34");
2. get double value ((Number) bigDecimalnumber ).doubleValue()
3. runs fine in hosted mode. throws exception in compiled mode.

What is the expected output? What do you see instead?
BigDecimal should extend Number and method like doubleValue(), longValue()
should work

What version of the product are you using? On what operating system?
The latest version gwt-math-server-2.0.3.jar

Please provide any additional information below.

Original issue reported on code.google.com by paul.alok on 24 Jul 2009 at 7:11

GoogleCodeExporter commented 9 years ago
Fixed in 2.1

Original comment by marco.ge...@gmail.com on 6 Aug 2009 at 9:52