Re: Precision when substracting two values with SQL

From: Juancho <squid(at)maxiconsumo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Precision when substracting two values with SQL
Date: 2002-08-12 20:33:00
Message-ID: 3D581B7C.9030902@maxiconsumo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>
>
>Try
>
>select (0.2-0.21)::numeric(12,2);
>
>A
>
>
>

Thank you, I will do this...

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-08-12 20:51:42 Re: Precision when substracting two values with SQL
Previous Message Andrew Sullivan 2002-08-12 20:27:42 Re: Precision when substracting two values with SQL