The datastore supports a Double type and we have no plans to support
anything more precise.  If you need more precision then I'm afraid you'll
need to manage it yourself.

Max

On Sat, Sep 19, 2009 at 1:59 PM, king <[email protected]> wrote:

>
> thanks Clay, that's exactly what I am doing now, but that approach
> takes extra processing cycle, it would be great if GAE can support
> bigdecimal intrinsically.
>
> On Sep 19, 9:20 am, Clay Lenhart <[email protected]> wrote:
> > One option is to store the values as a Long in the datastore and have
> > the value represent cents not dollars (or pence not pounds)
> >
> > -Clay
> >
> > On Sep 19, 3:16 am, king <[email protected]> wrote:
> >
> >
> >
> > > I want to manipulate currency in GAE.  The datastore data type spec
> > > doesn't haveBigDecimal.  When will it be supported?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to