On 16/08/2008, at 4:55 AM, Florijan Stamenkovic wrote:

This also accounts for the zero padding. Nice.

F

On Aug 15, 2008, at 14:34, Mike Schrag wrote:

EOF sets the scale when the values are fetched.
                                case FB_Decimal: {
                                        if (obj instanceof BigDecimal) {
return ((BigDecimal) obj).setScale(eoattribute.scale(), BigDecimal.ROUND_HALF_UP).toString();
                                        }

from fb plugin

Note: "from fb plugin" so don't rely on this for all plugins.

with regards,
--

Lachlan Deck



_______________________________________________
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