Re: rounding problems - Mailing list pgsql-general

From Justin
Subject Re: rounding problems
Date
Msg-id 4828959B.9090903@emproshunts.com
Whole thread Raw
In response to rounding problems  (Justin <justin@emproshunts.com>)
List 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.



pgsql-general by date:

Previous
From: Craig Vosburgh
Date:
Subject: Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1
Next
From: Tom Lane
Date:
Subject: Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1