Re: functions-formatting.html

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: david(at)gardnerit(dot)net
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: functions-formatting.html
Date: 2009-09-14 20:03:28
Message-ID: 20090.1252958608@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

david(at)gardnerit(dot)net writes:
> Was reading the docs and stumbled across what I believe is a mistake.
> There is a mistake in Table 9-25
> the result of to_char(148.5,'999D999') should be ' 148.500',
> the docs list it as ' 148,500'

The example in the docs presumes a locale where comma is the radix point
(eg, fr_FR). Perhaps that should be clarified, but changing the example
so that D appears to act the same as . doesn't seem to me to be an
improvement.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Pavel Golub 2009-09-29 09:01:57 pg_restore listing
Previous Message david 2009-09-14 19:24:53 functions-formatting.html