agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Paul M. Aoki <aoki@CS.Berkeley.EDU>
To: chambles@whale.st.usm.edu
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Floating-point precision in displays
Date: Mon, 13 Jun 94 14:37:19 -0700
Message-ID: <199406132137.OAA04982@nobozo.CS.Berkeley.EDU> (raw)
In-Reply-To: <9406132102.AA46554@whale.st.usm.edu>
Billy.Chambless@whale.st.usm.edu writes:
> I'm using a lot of "float4"s in my db, and the postgres monitor
> displays them in scientific notation--not pretty.
>
> Is there a built-in that I'm missing, or do I need to write
> a special display function?
no, you're not missing anything. float4_out just calls sprintf
with %g.
--
Paul M. Aoki | CS Div., Dept. of EECS, UCB | aoki@CS.Berkeley.EDU
| Berkeley, CA 94720 | ...!uunet!ucbvax!aoki
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
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 using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: aoki@CS.Berkeley.EDU, chambles@whale.st.usm.edu
Subject: Re: Floating-point precision in displays
In-Reply-To: <199406132137.OAA04982@nobozo.CS.Berkeley.EDU>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox