| От | Alvaro Herrera |
|---|---|
| Тема | Re: lc_numeric and decimal delimiter |
| Дата | |
| Msg-id | 20051108212305.GA1837@surnet.cl обсуждение |
| Ответ на | lc_numeric and decimal delimiter (Gavin Sherry <swm@linuxworld.com.au>) |
| Список | pgsql-hackers |
Gavin Sherry wrote: > I am at OpenDBCon in Germany. People are complaining about floats/numerics > not accepting German/European conventions for the delimiter point -- a > comma. This is hard coded into the the numeric input parser but, > naturally, we use strtod() in else where. I'm not sure about the locale > stuff and whether it deals with it. Are we in the wrong here? Yes. Unless you consider it reasonable to expect applications to parse numeric input from users to change the decimal and thousands separators. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера