Re: (Bug) Numeric fault calculation

Поиск
Список
Период
Сортировка
От Chirag Mittal
Тема Re: (Bug) Numeric fault calculation
Дата
Msg-id 1371383959180-5759375.post@n5.nabble.com
обсуждение исходный текст
Ответ на (Bug) Numeric fault calculation  ("Kanitchet Vaiassava" <kanichet@hotmail.com>)
Ответы Re: (Bug) Numeric fault calculation  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-support
Dear Kanitchet,

Please try this 

SELECT (260739.94 * (1.00/365.00))::numeric(20,7)

I am a beginner but I think we need to explicitly mention the "output"
format required to get accuracy.

Hope it helped.



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Bug-Numeric-fault-calculation-tp5752984p5759375.html
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.



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

Предыдущее
От: "David Rowley"
Дата:
Сообщение: Bug in foreign key constraint SQL
Следующее
От: "carlosinfl ."
Дата:
Сообщение: Server Instrumentation