pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Hasler <john@dhh.gt.org>
To: pgsql-sql@postgresql.org
Subject: Re: function to format floats as money?
Date: 17 Apr 2001 15:32:06 -0500
Message-ID: <874rvntghl.fsf@toncho.dhh.gt.org> (raw)
References: <Pine.LNX.4.30.0104171724230.762-100000@peter.localdomain>
	<3ADC61E0.93E7865D@summersault.com>
	<20010417124104.C17425@rice.edu>
	<87ae5ftl3z.fsf@toncho.dhh.gt.org>
	<20010417145943.B19087@rice.edu>

I wrote:
> Floats are fine for money as long as you only add and subtract and don't
> deal in amounts that won't fit in the mantissa.

Ross writes:
> Or you're writing software in Germany (all of the EU now?) that _might_ get
> used in an offical capacity.

I was referring to what actually works, not to what might or might not meet
with the approval of some officialdom or other.  The two seldom bear any
discernible relationship.
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI



view thread (7+ messages)

Message-ID: <874rvntghl.fsf@toncho.dhh.gt.org>
Permalink:  ../874rvntghl.fsf@toncho.dhh.gt.org/
Also on:    postgresql.org/message-id/874rvntghl.fsf@toncho.dhh.gt.org

 · 

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: john@dhh.gt.org
  Subject: Re: function to format floats as money?
  In-Reply-To: <874rvntghl.fsf@toncho.dhh.gt.org>
  References: <Pine.LNX.4.30.0104171724230.762-100000@peter.localdomain> <3ADC61E0.93E7865D@summersault.com> <20010417124104.C17425@rice.edu> <87ae5ftl3z.fsf@toncho.dhh.gt.org> <20010417145943.B19087@rice.edu> <874rvntghl.fsf@toncho.dhh.gt.org>

* 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