| Issue 1857: | BigDecimal Support | |
| 80 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
Found in GWT Release: 1.4.60 Detailed description: This issue is the same like issue 287 , as the issue 287 is closed i have created this to reopen the issue. I think BigDecimal should have representation in GWT although with loss of precision. Workaround if you have one: Links to the relevant GWT Developer Forum posts: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8e2e78a5e1dbf71b/9de66edc07821168?lnk=gst&q=bigdecimal#9de66edc07821168 http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/b8a89910e7908285/c20d2ee32841ab3b?lnk=gst&q=bigdecimal#c20d2ee32841ab3b |
||||||||||||
,
Nov 19, 2007
I think the same as emilio , the big decimal is an important thing to do an ria application |
|||||||||||||
,
Nov 19, 2007
+1 |
|||||||||||||
,
Feb 24, 2008
I need BigDecimal... +1 |
|||||||||||||
,
Feb 29, 2008
I need BigInteger which is part of BigDecimal. |
|||||||||||||
,
Mar 07, 2008
A Google Code project has been started that provides BigDecimal and BigInteger
http://code.google.com/p/gwt-math/
Labels: -Type-Defect Type-Enhancement Category-JRE
|
|||||||||||||
,
Mar 07, 2008
gwt-math works fine. Thanks a lot. |
|||||||||||||
,
May 05, 2008
Why would you not make these two things part of GWT core? Seems a bit overkill to add two more jars just to get BigDecimal and BigInteger support. BigDecimal is pretty much a must have for any app that deals with numbers that need to be accurate. |
|||||||||||||
,
Jun 17, 2008
+1 |
|||||||||||||
,
Aug 17, 2008
+1. Seems odd it has been left out. |
|||||||||||||
,
Sep 19, 2008
+1 |
|||||||||||||
,
Sep 22, 2008
+1 ! |
|||||||||||||
,
Sep 23, 2008
+1 especially for financial apps |
|||||||||||||
,
Sep 24, 2008
+1 |
|||||||||||||
,
Sep 29, 2008
+1 |
|||||||||||||
,
Sep 29, 2008
+1 |
|||||||||||||
,
Oct 15, 2008
+1 |
|||||||||||||
,
Oct 15, 2008
+1 |
|||||||||||||
,
Oct 21, 2008
(No comment was entered for this change.)
Labels: -priority-medium
|
|||||||||||||
,
Nov 02, 2008
+1 |
|||||||||||||
,
Nov 02, 2008
+1 |
|||||||||||||
,
Dec 01, 2008
+1 |
|||||||||||||
,
Dec 03, 2008
(No comment was entered for this change.)
Owner: sco...@google.com
|
|||||||||||||
,
Dec 03, 2008
Still NotPlanned, but patches are welcome. We will be happy to consider contributions for this. Please do NOT base any implementation on the 'long' primitive. Longs are emulated in GWT, so such an implementation would be unbearably slow with double-emulation.
Status: NotPlanned
|
|||||||||||||
,
Dec 17, 2008
I'm interested in implementing the BigDecimal and BigInteger support for GWT. I was thinking of basing the implementation on the OpenJDK or GNU Classpath implementations. Does Google have preference, maybe based on licensing? Both of these implementations use int primitives not longs. |
|||||||||||||
,
Dec 17, 2008
Apache licensing would be ideal. |
|||||||||||||
,
Dec 17, 2008
Hey Scott, Wow quick reply! Hmm maybe Harmony then? http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/ What do you think the biggest issues will with the GWT implementation? I expect GWT as implementing integer overflow it will have to be emulated in the BigInteger implementation. |
|||||||||||||
,
Dec 17, 2008
Overflow is a good one. Also, efficiency. |
|||||||||||||
,
Dec 18, 2008
See also the links I gave in comments to http://intertwingly.net/blog/2008/07/11/Decimal-in-ECMAScript |
|||||||||||||
,
Apr 21, 2009
Please support this, the existing gwt-math project is lacking at best. |
|||||||||||||
,
Apr 24, 2009
Please support BigDecimal. It's really a fixed price in financial application. |
|||||||||||||
,
Apr 27, 2009
+1.00 kinda shocked this is an open item. Even if you do not directly support math operations, having the RPC/serialization layer handle transporting the BigDecimal datatype would at least be something. |
|||||||||||||
,
Jul 24, 2009
It wold be great if BigDecimal support is added to GWT. Although I have been using gwt-math. It has some issue, like it does not extend java.lang.Number. and sum common number functions are missing. Also feels like BigDecimal should be part of GWT |
|||||||||||||
,
Aug 06, 2009
Wow. Still an issue after almost two years. I would also benefit from this enhancement, so if it makes any difference, here's another vote... |
|||||||||||||
,
Aug 06, 2009
gwt-math is stagnant and surely not by far a complete implementation (in fact unless you're working with strings when initializing BigDecimals there ain't much you can do with it). ++1 |
|||||||||||||
,
Aug 06, 2009
Patches still welcome. :) |
|||||||||||||
,
Aug 06, 2009
Yes, but open source and LGPL should be about letting others do the hard work and you shamelessly benefiting from their work... :) |
|||||||||||||
,
Aug 31, 2009
I'd like the BigDecimal |
|||||||||||||
,
Oct 06, 2009
Please, get a grip. BigDecimal is needed. |
|||||||||||||
,
Nov 11, 2009
Here is a GWT java.math package implementation I've built: http://code.google.com/p/gwt-java-math/ It is based on Apache Harmony's implementation but has been modified to run efficiently in Java Script using doubles rather than longs. It includes an almost complete implementation of BigInteger, BigDecimal, MathContext, RoundingMode and Random. |
|||||||||||||
,
Nov 11, 2009
Richard: I read the front of your project page and this sounds pretty sweet. I could see wanting to get this into GWT once it gets some miles on it. Please keep us posted.
Status: Accepted
Owner: r...@google.com Cc: sco...@google.com fabb...@google.com |
|||||||||||||
,
Dec 16, 2009
(No comment was entered for this change.)
Owner: j...@google.com
|
|||||||||||||
,
Dec 16, 2009
In progress, currently available in the change branch changes/jat/bigdecimal.
Cc: -sco...@google.com -fabbott+...@google.com r...@google.com
|
|||||||||||||
,
Jan 14, 2010
Any news? gwt-math stopped working when we upgraded to GWT 2.0 |
|||||||||||||
,
Jan 14, 2010
#43: it still works for me |
|||||||||||||
,
Jan 14, 2010
It was committed to trunk, but then rolled back due some test failures that appeared to be related to browser JS differences. I haven't had a chance to work on it while we get 2.0.1 out the door (which is a bug-fix-only release), but it will be in 2.1. |
|||||||||||||
,
Feb 04, 2010
Brilliant. We've used Hibernate to map Mapics/XA on our iSeries and there are BigDeciamls everywhere !!! Any timescale? Or "It'll be ready when it's ready"? :) |
|||||||||||||
,
Feb 04, 2010
Funny you should ask, as I was just working on it while waiting on something else to build. I think it should be ready to re-commit shortly.
Status: Started
|
|||||||||||||
,
Feb 14, 2010
Yes jat! Be our big decimal idol! So GWT becomes an option for displaying and managing financial data. |
|||||||||||||
,
Feb 25, 2010
Committed to trunk at r7618.
Status: FixedNotReleased
Labels: Milestone-2_1 |
|||||||||||||
| ► Sign in to add a comment | |||||||||||||