Re: [HACKERS] ordinal decimal number

From: Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: "J(dot) Roeleveld" <j(dot)roeleveld(at)softhome(dot)net>, pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] ordinal decimal number
Date: 2000-01-05 13:51:35
Message-ID: Pine.LNX.3.96.1000105144609.10672B-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Wed, 5 Jan 2000, Oliver Elphick wrote:

> "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?

I implement it to to_char (ordinal with decimal places), but is user choise
if use or not use it...

Karel

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2000-01-05 13:55:47 Re: [HACKERS] ordinal decimal number
Previous Message J. Roeleveld 2000-01-05 12:09:50 Re: [HACKERS] ordinal decimal number