BigDecimal, scale, and prototypes
BigDecimal, scale, and prototypes
- Subject: BigDecimal, scale, and prototypes
- From: Florijan Stamenkovic <email@hidden>
- Date: Fri, 15 Aug 2008 11:38:02 -0400
Hi all,
I am using BigDecimal in combination with WO for the first time, and
have some questions, perhaps someone with experience could explain.
1. Is the scale of the resulting BigDecimal based on the scale of the
property as defined in the model?
2. Why does the currencyAmount wonder prototype has the scale of 4,
instead of 2? Easy to deal with, I am just wondering if there is a
specific reason for that...
Thanks,
F
_______________________________________________
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