ordinal decimal number

From: Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
To: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: ordinal decimal number
Date: 2000-01-05 11:44:59
Message-ID: Pine.LNX.3.96.1000105123912.9961A-100000@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I add to the to_char() routine "ordinal-number" feature, but my
English is insufficient for this :-( (sorry)

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

Please!

Karel

----------------------------------------------------------------------
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> http://home.zf.jcu.cz/~zakkr/

Docs: http://docs.linux.cz (big docs archive)
Kim Project: http://home.zf.jcu.cz/~zakkr/kim/ (process manager)
FTP: ftp://ftp2.zf.jcu.cz/users/zakkr/ (C/ncurses/PgSQL)
-----------------------------------------------------------------------

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message J. Roeleveld 2000-01-05 12:09:50 Re: [HACKERS] ordinal decimal number
Previous Message Adriaan Joubert 2000-01-05 08:13:13 Re: [HACKERS] Index corruption