Search Postgresql Archives

Re: What is the effect of locale on numbers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A B <gentosaker@xxxxxxxxx> writes:
> I use swedish locale

> show lc_numeric;
>  lc_numeric
> -------------
>  sv_SE.UTF-8

> and I get a . (dot) in all floating-point numbers.

The regular output of numbers is intentionally not locale-aware.
You can use to_char() to obtain locale-specific formats.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux