Re: Number to Words Conversion

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: yogesh <yogesh(dot)arora(dot)daffodil(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Number to Words Conversion
Date: 2007-11-01 23:02:42
Message-ID: 200711012302.lA1N2gf03391@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

yogesh wrote:
> Hello Frnds,
>
> Is there any way to Convert the Number to its equivalent String
> ( Words)
>
> e.g. 10 to TEN. Urgent require the Answer..

We have cash_words:

test=> SELECT cash_words('100');
cash_words
------------------------------------
One hundred dollars and zero cents
(1 row)

but that is money-oriented.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-11-01 23:04:20 Re: posgresql-8.2 startup problem
Previous Message brian 2007-11-01 23:02:17 Re: Number to Words Conversion