| From: | greg(at)turnstep(dot)com |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Cc: | bhirt(at)mobygames(dot)com |
| Subject: | Re: roman numerals |
| Date: | 2003-05-05 14:32:55 |
| Message-ID: | 4c20e3fe8ab242c2ec5eb27e247ffd68@biglumber.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I see there's a way to convert to a roman numeral using
> to_char(10,'RN') will give you 'X'.
> How can i go the other way?
You cannot, but it is on a "TODO" list within the source code.
Until then, you may want to take a look at the perl module Math::Roman
http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?distinfo=3092
- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200305051023
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html
iD8DBQE+tnWqvJuQZxSWSsgRAiHdAJ48nW/m7msqqQUOlEaKieNQ8bmdmQCgr+Lx
mjA/yTu9JBtHuuyf8MrMnec=
=6c9j
-----END PGP SIGNATURE-----
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Maurice Balick | 2003-05-05 14:54:08 | index on INT8 column is never used |
| Previous Message | Bruno Wolff III | 2003-05-05 13:32:22 | Re: Best way to delete time stamped data? |