RE: [HACKERS] ordinal decimal number

Поиск
Список
Период
Сортировка
От Karel Zak - Zakkr
Тема RE: [HACKERS] ordinal decimal number
Дата
Msg-id Pine.LNX.3.96.1000106114524.3280A-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на RE: [HACKERS] ordinal decimal number  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
Список pgsql-hackers

On Wed, 5 Jan 2000, Ansley, Michael wrote:

> My personal opinion: ordinal numbers can get a th, rd, nd, or st.  That
> implies whole numbers only.  If an ordinal is requested, test for a positive
> integer; if not an integer, leave alone, otherwise add whichever suffix is
> required.
> 
> 2   ->    2nd
> 2.2 ->    2.2
> NaN ->    NaN
> 4   ->    4th
> -6  ->    -6

Well, it is good solution. I implement it. Or exist the other suggestion?
                        Karel



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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: Re: [HACKERS] UdmSearch: tables vs indices ...
Следующее
От: Rod Chamberlin
Дата:
Сообщение: Enhancing PGSQL to be compatible with Informix SQL