vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Which client are you using ? I vaguely remember that in ESQL/C it is possible. If your DBMONEY is set for decimal seperator as "." then thousand seperator will be taken as "," and vice-versa. "Floyd Wellershaus" <floyd@fwellers.c To om> "Roland Wintgen" <rw@evg.de>, Sent by: informix-list@iiug.org informix-list-bou cc nces@iiug.org Subject Re: Re: selecting with thousands 14/02/2008 17:36 separator Please respond to floyd@fwellers.co m Hope ? Nah, that doesn't work. create table floyd ( col1 integer ) extent size 32 next size 32 lock mode page; insert into floyd (col1) values (25000) select replace(col1::decimal, '.', ',') from floyd (expression) 25000,0000000000000000 ----- Original Message ----- Subject: Re: Re: selecting with thousands separator Date: Thu, February 14, 2008 6:37 From: "Roland Wintgen" <rw@evg.de> >>> Jonathan Leffler<jleffler@earthlink.net> schrieb am 14.02.2008 um > 04:51: > > Jack Parker wrote: > >> Floyd Wellershaus asked: > >>> Is there a way to select an integer or string value out of a table and > >>> have it display in this format xx,xxx ? > >> > >> Isn't there a DBLDFORMAT variable (or something like that) that > >> dictates how numbers are formatted? > > > > I suspect you're thinking of DBFORMAT, but that is only supported by > > I4GL and not by IDS. > > assuming you have a decimal or float value and want ro > replace the thousand separator from "." to "," you could > you do a select replace(value, ".", ",") > > > -- > > Roland Wintgen (Systemadministrator) > > rw@evg.de > Tel. +49 2166 5508-23 > Fax +49 2166 5508-20 > > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list > > _______________________________________________ Informix-list mailing list Informix-list@iiug.org http://www.iiug.org/mailman/listinfo/informix-list |
| Thread Tools | |
| Display Modes | |
|
|