Re: formatting $$$ values in D2W
Re: formatting $$$ values in D2W
- Subject: Re: formatting $$$ values in D2W
- From: Chuck Hill <email@hidden>
- Date: Thu, 27 May 2004 14:07:22 -0700
Are the scale and precision in the EOModel set to match the database?
Chuck
P.S. float, double etc are notoriously imprecise for financial usage.
They are, by nature, an approximation only. You have been warned. :-)
On May 27, 2004, at 12:28 PM, John Spicer wrote:
We're having some trouble with this. I've searched the archives, but
found only this same question, without answers.
We have two databases (for testing): OpenBase, and MySQL. We've tried
different number internal and external specifications (double, float,
Number, etc, depending on the database).
But the problem remains: $13.33 in the database will be loaded and
truncated to $13.
We've tried setting the formatter in the assistant but we get no joy
here either.
$###,###.### is the latest we've tried.
I can't believe this is not possible. Surely someone wants to store and
display values that are not whole numbers!!
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.