Re: Simple Question about bindings
Re: Simple Question about bindings
- Subject: Re: Simple Question about bindings
- From: Mike Schrag <email@hidden>
- Date: Thu, 27 Aug 2009 03:59:42 -0400
I thought it was only a "Object" wrapper around a double number..
Nope -- that's Double. double is an IEEE floating point number and
you can't safely represent precise decimal values (read: currency)
with it. There are some numbers you simply can't represent with it at
all, in fact. BigDecimal is specifically designed to handle things
like currency, where you need fixed (but arbitrary) precision as well
as tight control over rounding rules (which you have no control over
with doubles).
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden