X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5E07F533A9 for ; Tue, 19 Apr 2005 10:59:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86723-07 for ; Tue, 19 Apr 2005 13:59:01 +0000 (GMT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id 3A8C35323C for ; Tue, 19 Apr 2005 10:58:59 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 8CAA035588; Tue, 19 Apr 2005 06:59:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 8B390354E9; Tue, 19 Apr 2005 06:59:01 -0700 (PDT) Date: Tue, 19 Apr 2005 06:59:01 -0700 (PDT) From: Stephan Szabo To: sreejith s Cc: pgsql-sql@postgresql.org Subject: Re: "Money" Data Type Problem In-Reply-To: <5d14ecf905041900375fbceed4@mail.gmail.com> Message-ID: <20050419065638.B72646@megazone.bigpanda.com> References: <5d14ecf905041900375fbceed4@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/286 X-Sequence-Number: 21179 On Tue, 19 Apr 2005, sreejith s wrote: > Hai friends, > I have a field with data type 'Money' with my table. I select this > field a select query and displays the same in a textbox. While doing > this a dollar ($) is prefixed to the actual table value. How to avoid > this symbol so as to display the actual value only. Any format change > needed in config files. Pls forward me the reply. I believe money uses the currency symbol based on LC_MONETARY so there might exist one without a symbol, however you'd probably be best off replacing money with an appropriate numeric field.