Re: BigDecimal, scale, and prototypes
Re: BigDecimal, scale, and prototypes
- Subject: Re: BigDecimal, scale, and prototypes
- From: Mike Schrag <email@hidden>
- Date: Fri, 15 Aug 2008 14:38:01 -0400
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(); }
Sorry, this is actually the inverse operation (when you insert) ...
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
References: | |
| >BigDecimal, scale, and prototypes (From: Florijan Stamenkovic <email@hidden>) |
| >Re: BigDecimal, scale, and prototypes (From: T Worman <email@hidden>) |
| >Re: BigDecimal, scale, and prototypes (From: Florijan Stamenkovic <email@hidden>) |
| >Re: BigDecimal, scale, and prototypes (From: Chuck Hill <email@hidden>) |
| >Re: BigDecimal, scale, and prototypes (From: Mike Schrag <email@hidden>) |