Skip to Content.
Sympa Menu

freetds - Re: TDS 7.0 (cvs), float types, MS SQL 7

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page