Re: floating point representation
От | Philip Warner |
---|---|
Тема | Re: floating point representation |
Дата | |
Msg-id | 3.0.5.32.20010221100759.02e74940@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | Re: floating point representation (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: floating point representation
|
Список | pgsql-hackers |
At 22:29 20/02/01 +0100, Peter Eisentraut wrote: >Tom Lane writes: >> And we frequently see questions from users about how they can display >> fewer digits than the system wants to give them --- or, more >> generally, format the output in some special form. > >to_char() should serve those people. > This is not a good solution if what you want (as a user) is consistency of output no matter who retrieves the data; people should not have to wrap every SELECT field in to_char to get the precision/format they want. ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.B.N. 75 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 0500 83 82 82 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp5.ai.mit.edu:11371 |/
В списке pgsql-hackers по дате отправления: