How to increase precision?

Поиск
Список
Период
Сортировка
От Katka a Daniel Dunajsky
Тема How to increase precision?
Дата
Msg-id Law12-F72YKpDS7hx2700007b3c@hotmail.com
обсуждение исходный текст
Ответы Re: How to increase precision?
Re: How to increase precision?
Re: How to increase precision?
Список pgsql-sql
Hello all,

this is a newbie question:

How to increase the precision of calculations in posgresql?

When I run this query:

select 5/2;

I get:

?column?
--------      2

It should be 2.5 shouldn't it?

Thank you for your time.

Daniel






_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail



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

Предыдущее
От: Chris Gamache
Дата:
Сообщение: Re: What is bad in this query ?
Следующее
От: Kyle
Дата:
Сообщение: Best way to delete time stamped data?