X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1F57FD1B458 for ; Mon, 29 Dec 2003 23:03:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 01396-07 for ; Mon, 29 Dec 2003 19:02:58 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id C023AD1B443 for ; Mon, 29 Dec 2003 19:02:55 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hBTN2sU6047294 for ; Mon, 29 Dec 2003 23:02:54 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hBTMaG4a034469 for pgsql-admin@postgresql.org; Mon, 29 Dec 2003 22:36:16 GMT From: William Yu X-Newsgroups: comp.databases.postgresql.admin Subject: Re: IEEE 754 Date: Mon, 29 Dec 2003 14:36:19 -0800 Organization: Hub.Org Networking Services Lines: 24 Message-ID: References: <3FF06449.7080208@sancharnet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <3FF06449.7080208@sancharnet.in> To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/332 X-Sequence-Number: 11838 The answer is simple. Don't use floating point for money. Sai Hertz And Control Systems wrote: > Dear all , > > I would like to share my concerns about the IEEE 754 specification and > floating point handling by PostgreSQL . > > Also I would like to learn how professional users of PostgreSQL work > with rounding of monetary terms . > > If you would like to know whats IEEE 754 read this > http://docs.sun.com/source/806-3568/ncg_goldberg.html > > > Regards, > Vishal Kashyap. > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >