Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SUM precision

Re: SUM precision

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Mon, 28 Aug 2006 12:06:22 +0200
Message-ID: <nvf5f292hkg5s3h273r7jf8v6moobtm5f3@4ax.com>


On 28 Aug 2006 02:34:32 -0700, "Arno" <boulets_at_gmail.com> wrote:

>Hello,
>
>I have a little problem with the fonction sum. I use this query :
>select SAL_ID, sum(LIG_MONT1) AS MNT from LIGNE group by SAL_ID.
>
>In my table LIGNE, LIG_MONT1 is a number with 5 decimal digits. But
>when I execute the query, the sum is rounded with 0 decimal digit.
>Somebody know this problem ? Do you have a solution for me ?
>
>Tks in advance.
>
>Arno

The SUM isn't rounded, that's just because of your display format.

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon Aug 28 2006 - 05:06:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US