In case you want to convert from int to string and reversely, try
$var1 = 5000;
$var2 = sprintf ("%s", $var1); # $var2 become string
$var3 = int ($var2); # $var3 become int
Karel Zak <zakkr@zf.jcu.cz>@hub.org on 10/19/2000 06:46:08 AM
Sent by: pgsql-general-owner@hub.org
To: Yohans Mendoza <yohans@demiurge.sirius-images.net>
cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] to_char function
On Wed, 18 Oct 2000, Yohans Mendoza wrote:
> hi all,
>
> where can I find info about the function to_char
Oh man.. Do you know how much hardly is for non-English person like me
write a good documentation? And you can't found it. :-)
Where.. in the PostgreSQL docs (for 7.0 or 7.1devel) of course.
(See "formatting function"..)
Karel