stored proc - how to format numbers?

Поиск
Список
Период
Сортировка
От J.V.
Тема stored proc - how to format numbers?
Дата
Msg-id 4E7A2E92.7030904@gmail.com
обсуждение исходный текст
Ответы Re: stored proc - how to format numbers?
Список pgsql-general
In PostgreSQL (9.x), I have a variable that I want to format with commas.

I do not know how many digits will be in the number, it could be an int
(2Billion+) or a BigInt (18 digits or more).

All I simply want to do is to use:  to_number( and have the commas put
in before display.

There are no example of this in the documentation that I could find.

thanks

J.C.

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

Предыдущее
От: hamann.w@t-online.de
Дата:
Сообщение: looking for a faster way to do that
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: stored proc - how to format numbers?