From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: floating point output
Date: Wed, 4 Sep 2019 18:23:51 -0600
Message-ID: <2e1865c7-9ef3-e27f-e323-1659a5f129fc@gmail.com> (raw)
I've found the description of floating point types (here
<https://www.postgresql.org/docs/10/datatype-numeric.html#DATATYPE-FLOAT;),
but I'm looking for the rationale of the output format, particularly
with respect to total digits presented (variable in a single select's
output) and the dropping of a trailing zero (to some implying a loss of
precision). Is the code my only guide here?
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com
Subject: Re: floating point output
In-Reply-To: <2e1865c7-9ef3-e27f-e323-1659a5f129fc@gmail.com>
References: <2e1865c7-9ef3-e27f-e323-1659a5f129fc@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox