to_char(0,'9999.99') -> ".00"

Поиск
Список
Период
Сортировка
От Phil Endecott
Тема to_char(0,'9999.99') -> ".00"
Дата
Msg-id 41E30635.7070106@chezphil.org
обсуждение исходный текст
Ответы Re: to_char(0,'9999.99') -> ".00"  (Dave Smith <dave.smith@candata.com>)
Список pgsql-general
Dear All,

I was a bit surprised to find that

    to_char(0,'9999.99')

returns    .00 rather than 0.00.

Is this a bug or a feature?  How do I get what I want?

(This is with 7.4.2.  Appologies if it is a known problem.  The search
form in the list archives seems to split words on _, so looking for
to_char finds lots of pages that just say 'char'.)

Regards,

Phil Endecott.


В списке pgsql-general по дате отправления:

Предыдущее
От: Chris
Дата:
Сообщение: Limiting USAGE to only certain objects within a schema
Следующее
От: Aaron Steele
Дата:
Сообщение: warning: pg_query(): Query failed