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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to