BigDecimal support

19 views
Skip to first unread message

Mark Volkmann

unread,
Apr 3, 2007, 11:55:24 AM4/3/07
to Google-We...@googlegroups.com
Is support for serializing the BigDecimal type on the GWT roadmap? If
so, what's the best guess as to when it will be supported?

I realize that JavaScript doesn't support 64-bit types. I'm thinking
that GWT could fake this out by using a pair of int values to
represent a long, and so on.

Reinier Zwitserloot

unread,
Apr 4, 2007, 12:27:45 AM4/4/07
to Google Web Toolkit
It'll be quite a job to implement this. It's definitely not in the
books for GWT 1.4, and the feature list for 1.5 isn't even close to
being finalized yet (I assume the 1.5 feature set will become more
reliable soon after 1.4 is released, which should be soon). From what
I vaguely remember, this was on there but not with any sort of
priority.

In the mean time, if you never need to do any mathematics on the
numbers client-side, you can just toss strings and back and forth, and
wrap them into BigDecimals serverside. If there is math involved,
well, you're screwed :/

Jason Essington

unread,
Apr 4, 2007, 10:19:24 AM4/4/07
to Google-We...@googlegroups.com
There is a feature request for BigDecimal Support, but at this time
it has a status of "Not Planned"
http://code.google.com/p/google-web-toolkit/issues/detail?id=287

if enough people star this report it may change the priority, or
someone outside Google could take a shot at an implementation, after
all GWT is an open source project.

-jason

Reply all
Reply to author
Forward
0 new messages