freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Michael Suedkamp" <ms AT suedkm.franken.de>
- To: freetds
- Subject: Re: TDS 7.0 (cvs), float types, MS SQL 7
- Date: Mon, 28 Feb 2000 13:26:7
On 02/26/00, "Bob Kline <bkline AT rksystems.com>" wrote:
> Perhapd the fact that it's stored as 4 bytes in your database doesn't
> necessarily imply that your code is getting it as 4-byte values. What
> happens if you do this?
>
> double surReal;
> memcpy(&surReal, value, sizeof surReal);
> sprintf(result, "%.6f", surReal);
>
I cannot say anymore exactly what happened but at least it didn't work
either.
I am little bit lost in the moment.
Michael
-
TDS 7.0 (cvs), float types, MS SQL 7,
Michael Suedkamp, 02/25/2000
- <Possible follow-up(s)>
- Re: TDS 7.0 (cvs), float types, MS SQL 7, Brian Bruns, 02/25/2000
- Re: TDS 7.0 (cvs), float types, MS SQL 7, Michael Suedkamp, 02/26/2000
- Re: TDS 7.0 (cvs), float types, MS SQL 7, Bob Kline, 02/26/2000
- Re: TDS 7.0 (cvs), float types, MS SQL 7, Michael Suedkamp, 02/28/2000
- Re: TDS 7.0 (cvs), float types, MS SQL 7, Michael Suedkamp, 02/29/2000
Archive powered by MHonArc 2.6.24.