Re: Number Conversion Function - Mailing list pgsql-general

From Tom Lane
Subject Re: Number Conversion Function
Date
Msg-id 27615.1239027099@sss.pgh.pa.us
Whole thread Raw
In response to Re: Number Conversion Function  (Tino Wildenhain <tino@living-examples.com>)
Responses Re: Number Conversion Function
List pgsql-general
Tino Wildenhain <tino@living-examples.com> writes:
> Abdul Rehman wrote:
>> Can any body help me in converting numeric values into words via
>> postgres function: i.e. 313 to THREE HUNDRED THREE

> I would not recommend to do this within the database. Thats typical
> a job for your presentation layer.

... but having said that, I think the "money" datatype has a function
for this.  Whether that's of any use to you I dunno; money is pretty
restrictive about what it can handle.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres Security Checklist
Next
From: "Albe Laurenz"
Date:
Subject: Re: Postgres Security Checklist