pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: radhika@88thstreet.com
To: pgsql-sql@postgresql.org
Subject: Re: Floating point type to store numbers
Date: Tue, 17 Apr 2007 12:18:16 -0700 (PDT)
Message-ID: <504276.57905.qm@web31804.mail.mud.yahoo.com> (raw)
In-Reply-To: <4838.63.118.86.10.1176836034.squirrel@www.88thstreet.com>


---
> The question is: how accurate is floating point numbers in Postgres. We
> are using 7.4 soon to be moving to 8.2.
> I need the accuracy to about 6 decimal points. I have read that floating
> points can convert to numbers in accurately.

http://www.postgresql.org/docs/8.2/interactive/datatype-numeric.html#DATATYPE-FLOAT

I didn't see anything about numeric being a string type,

http://www.postgresql.org/docs/8.2/interactive/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL

Regards,
Richard Broersma Jr.



view thread (10+ messages)  latest in thread

Message-ID: <504276.57905.qm@web31804.mail.mud.yahoo.com>
Permalink:  ../504276.57905.qm@web31804.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/504276.57905.qm@web31804.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rabroersma@yahoo.com, radhika@88thstreet.com
  Subject: Re: Floating point type to store numbers
  In-Reply-To: <504276.57905.qm@web31804.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox