Re: function returning a readable representation of a number

From: Mike G <mike(at)thegodshalls(dot)com>
To: Najib Abi Fadel <nabifadel(at)usj(dot)edu(dot)lb>
Cc: generalpost <pgsql-general(at)postgresql(dot)org>
Subject: Re: function returning a readable representation of a number
Date: 2004-07-14 01:37:15
Message-ID: 20040714013715.GB3003@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nope.

You can create one though.

Mike

On Tue, Jul 13, 2004 at 12:07:17PM +0200, Najib Abi Fadel wrote:
> Is there any postgres function that do the following:
>
> select func(9123456789);
> 9 123 456 789
>
> the function is given a number and it returns a "readable" string representation of the number seperating groups of 3 numbers by spaces.
>
> Thx

In response to

Browse pgsql-general by date

  From Date Subject
Next Message elein 2004-07-14 02:23:24 Re: optimization with limit and order by in a view
Previous Message Thomas F.O'Connell 2004-07-14 00:03:33 Re: Indexes and Tables: Growth and Treatment