From: | Justin <justin(at)emproshunts(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: rounding problems |
Date: | 2008-05-12 19:08:11 |
Message-ID: | 4828959B.9090903@emproshunts.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
thats how i loaded the price list to start with. The problems with
sales orders are entered and the automatic pricing kicks in ( the
discounts are calculated * the number or pieces ordered) it goes to
down the tubes.
I could just rewrite the pricing stored procedures to call a rounding
procedure that would make the results agree with stupid excel :-\
Not the preferred way but it would make data entry people leave me
alone. Thanks for the idea.
Christophe wrote:
> Rather than try to recreate Excel's rounding algorithm, perhaps use
> Excel to create a table of input values and results, and load that
> into the database? It might be easier than trying to back-engineer
> Excel's broken math.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-05-12 19:11:27 | Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1 |
Previous Message | Craig Vosburgh | 2008-05-12 19:07:38 | Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1 |