Re: [HACKERS] ordinal decimal number

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "J(dot) Roeleveld" <j(dot)roeleveld(at)softhome(dot)net>
Cc: "Karel Zak - Zakkr" <zakkr(at)zf(dot)jcu(dot)cz>, "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] ordinal decimal number
Date: 2000-01-05 13:55:47
Message-ID: 200001051355.NAA13989@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(dot)Elphick(at)lfix(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2000-01-05 14:34:14 Re: [HACKERS] Index corruption
Previous Message Karel Zak - Zakkr 2000-01-05 13:51:35 Re: [HACKERS] ordinal decimal number