From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | René Grün <rgr(at)mbs-software(dot)de> |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: NAN-Values in ECPG-Code |
Date: | 2007-09-03 11:09:56 |
Message-ID: | 20070903110956.GB28752@feivel.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Fri, Jun 15, 2007 at 03:38:03PM +0200, René Grün wrote:
> I have a Question:
Sorry for the late answer, but I still have a backlog in my emails.
> EXEC SQL BEGIN DECLARE SECTION;
> Int paramid;
> Float fval;
> EXEC SQL END DECLARE SECTION;
>
> paramid = 5;
> fval = 'NAN';
How about this?
fval = strtod("nan", NULL);
> Mit freundlichen Grüßen aus Krefeld,
> With best regards from Krefeld,
Being very close in Moenchengladbach I hope this helps.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Ayrapetyan | 2007-09-17 13:23:46 | Problem with getting static libpq.a from PostgresSQL 8.2.4 sources using MinGW |
Previous Message | Hilton Perantunes | 2007-08-30 21:42:55 | Re: Problem with character encodings. |