pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>
To: 'pgsql-admin@hub.org' <pgsql-admin@hub.org>
To: 'pgsql-sql@hub.org' <pgsql-sql@hub.org>
Subject: float4
Date: Mon, 28 Jun 1999 15:43:37 -0400
Message-ID: <01BEC17C.FE853200.jt-kirkpatrick@mpsllc.com> (raw)

we have a database (linux, 6.4.2, new odbc, connections from msaccess / 
win98) -- access doesn't fully appreciate the monetary type in postgres, so 
we made all monetary fields FLOAT4's.  weird stuff -- or maybe not to you 
-- we insert 23516.69 into a float4 field directly in psql, and then select 
it, and it shows 23516.7.  this is not good for a field used for MONEY!!! 
 what are the limitations of float4?  should i have used float8?

thanks for any help you can offer. . .

jt




view thread (3+ messages)  latest in thread

Message-ID: <01BEC17C.FE853200.jt-kirkpatrick@mpsllc.com>
Permalink:  ../01BEC17C.FE853200.jt-kirkpatrick@mpsllc.com/
Also on:    postgresql.org/message-id/01BEC17C.FE853200.jt-kirkpatrick@mpsllc.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jt-kirkpatrick@mpsllc.com, pgsql-admin@hub.org, pgsql-sql@hub.org
  Subject: Re: float4
  In-Reply-To: <01BEC17C.FE853200.jt-kirkpatrick@mpsllc.com>
  References: <01BEC17C.FE853200.jt-kirkpatrick@mpsllc.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