Re: Displaying a float8 as a full-length number

From: Grant Rutherford <grutherford(at)iders(dot)ca>
To: Julie May <julie(at)ccorb(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Displaying a float8 as a full-length number
Date: 2003-10-08 18:34:25
Message-ID: 3F8458B1.9070009@iders.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Julie May wrote:

>Grant,
>
>Cast it to numeric instead of float8.
> SELECT CAST('0.00001' AS numeric);
>
>Julie
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>
>
>
Thanks, that worked perfectly.

--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http://www.iders.ca
tel: 204-779-5400 ext 36
fax: 204-779-5444
================================
Iders Incorporated: Confidential
================================
Note: This message is intended solely for the use of the designated
recipient(s) and their appointed delegates, and may contain
confidential information. Any unauthorized disclosure, copying or
distribution of its contents is strictly prohibited. If you have
received this message in error, please destroy it and advise the sender
immediately by phone, Email or facsimile.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Al Hulaton 2003-10-08 18:48:24 Re: Humor me: Postgresql vs. MySql (esp. licensing)
Previous Message Bruno Wolff III 2003-10-08 18:29:20 Re: Displaying a float8 as a full-length number