From: | YekFu(dot)Wong(at)seagate(dot)com |
---|---|
To: | zakkr(at)zf(dot)jcu(dot)cz |
Cc: | yohans(at)demiurge(dot)sirius-images(dot)net, pgsql-general(at)postgresql(dot)org |
Subject: | Re: to_char function |
Date: | 2000-10-19 05:58:17 |
Message-ID: | OF68029216.766A8D69-ON4825697D.0020962F@stsv.seagate.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)zf(dot)jcu(dot)cz>@hub.org on 10/19/2000 06:46:08 AM
Sent by: pgsql-general-owner(at)hub(dot)org
To: Yohans Mendoza <yohans(at)demiurge(dot)sirius-images(dot)net>
cc: pgsql-general(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-10-19 06:08:19 | Re: [ANNOUNCE] Open Source Database Summit |
Previous Message | Karel Zak | 2000-10-19 05:46:08 | Re: to_char function |