function to format floats as money?

Поиск
Список
Период
Сортировка
От Mark Stosberg
Тема function to format floats as money?
Дата
Msg-id Pine.BSF.4.33.0104170928300.93423-100000@nollie.summersault.com
обсуждение исходный текст
Ответы Re: function to format floats as money?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
Hello,
 I'm curious to know if there is a function available in Postgres 7.0.3
(or 7.1) that will format a float style number as "money". I understand
that the money type is going away in the future, so using a float type
that is sometimes formatted like money seems like a good alternative. So
ideally, I'm looking for a solution that won't go away when the money type
does. :) Thanks!
 -mark

http://mark.stosberg.com/



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

Предыдущее
От: "Julian Scarfe"
Дата:
Сообщение: Re: RTREE on points
Следующее
От: Rini Dutta
Дата:
Сообщение: drastic reduction in speed of inserts as the table grows