MarcoGervasoni / gwt-math

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

BigDecimal should be a Number #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Cast BigDecimal to java.lang.Number

What is the expected output? What do you see instead?
It should work, BigDecimal is a Number in the JRE

What version of the product are you using? On what operating system?
2.0 on Windows

Please provide any additional information below.
I have a Number-based inputfield which denies feeding my BigDecimal into
it, on account of it not being a number

Original issue reported on code.google.com by andras.g...@gmail.com on 1 Dec 2008 at 7:11

GoogleCodeExporter commented 9 years ago
You have right, in the JRE BigDecimal is a Number.
In this library BigDeciaml it's only a class that implements 
Cloneable,Serializable.

Number was not implemented by GWT and for me it was too long implement.

Original comment by marco.ge...@gmail.com on 1 Dec 2008 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by marco.ge...@gmail.com on 5 Jan 2009 at 9:28