Re: [HACKERS] ordinal decimal number
Oliver Elphick <olly@lfix.co.uk>
From: "Oliver Elphick" <olly@lfix.co.uk>
To: "J. Roeleveld" <j.roeleveld@softhome.net>
Cc: "Karel Zak - Zakkr" <zakkr@zf.jcu.cz>, "pgsql-hackers" <pgsql-hackers@postgreSQL.org>
Date: 2000-01-05T13:55:47Z
Lists: pgsql-hackers
"J. Roeleveld" wrote:
>> Hi,
>>
>> I add to the to_char() routine "ordinal-number" feature, but my
>> English is insufficient for this :-( (sorry)
>
>There are enough people that speak English, what we don't have enough
>of on this world are people that know what they can and can't do :)
>
>> I good know how is it for non-decimal numbers, but if number has
>> decimal part?
>>
>> Example: 2.6 --> 2.6th
>> or 2.6 --> 2.6nd
>
>It's: 2.6 --> 2.6th
It isn't really possible to have an ordinal with decimal places in
English; it sounds very awkward.
Ordinals designate placing in a list; a computer example would be an
array index. How can such a number have decimal places?
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"And thou shalt love the LORD thy God with all thine
heart, and with all thy soul, and with all thy might."
Deuteronomy 6:5