Обсуждение: Converting number to words
I searched through the net quickly and the list archives, but could not find anything doing this. Is it possible? There is a Perl module for doing this, but I guess cannot use modules for security reasons. -- Robert
On Fri, Nov 05, 2004 at 05:18:01PM -0500, Robert Fitzpatrick wrote: > I searched through the net quickly and the list archives, but could not > find anything doing this. Is it possible? There is a Perl module for > doing this, but I guess cannot use modules for security reasons. But you can use plperlu to define a function to do that. -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "La rebeldía es la virtud original del hombre" (Arthur Schopenhauer)
Alvaro Herrera wrote: > On Fri, Nov 05, 2004 at 05:18:01PM -0500, Robert Fitzpatrick wrote: > > I searched through the net quickly and the list archives, but could not > > find anything doing this. Is it possible? There is a Perl module for > > doing this, but I guess cannot use modules for security reasons. > > But you can use plperlu to define a function to do that. cash_words() will convert an int4. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073