Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2F5B1475E52 for ; Mon, 12 Aug 2002 16:49:23 -0400 (EDT) Received: from maxint01.maxiconsumo (unknown [200.26.107.66]) by postgresql.org (Postfix) with ESMTP id E7018475E3A for ; Mon, 12 Aug 2002 16:49:19 -0400 (EDT) Received: from maxiconsumo.com (192.168.9.17 [192.168.9.17]) by maxint01.maxiconsumo with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QY4CWB40; Mon, 12 Aug 2002 17:45:28 -0300 Message-ID: <3D581B7C.9030902@maxiconsumo.com> Date: Mon, 12 Aug 2002 17:33:00 -0300 From: Juancho User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Precision when substracting two values with SQL References: <3D58132C.6040303@maxiconsumo.com> <20020812162742.Z17166@mail.libertyrms.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/124 X-Sequence-Number: 5239 > > >Try > >select (0.2-0.21)::numeric(12,2); > >A > > > Thank you, I will do this...