Re: function to format floats as money?

From: John Hasler <john(at)dhh(dot)gt(dot)org>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: function to format floats as money?
Date: 2001-04-17 20:32:06
Message-ID: 874rvntghl.fsf@toncho.dhh.gt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)dhh(dot)gt(dot)org (John Hasler)
Dancing Horse Hill
Elmwood, WI

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-04-17 20:38:53 Re: is this proper sql?
Previous Message Stephan Szabo 2001-04-17 20:29:21 Re: is this proper sql?