freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT umcc.ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: TDS 7.0 (cvs), float types, MS SQL 7
- Date: Fri, 25 Feb 2000 17:59:12 -0500 (EST)
Hmm..there are two float types: real and flt8 which are 4 byte and 8 byte
respectively. The should be a straight mapping to the float and double
types in C (real -> float, flt8 -> double). Can you provide some test
code to look at?
On Fri, 25 Feb 2000, Michael Suedkamp wrote:
> Hi (Brian),
>
> now I am at obtaining float types from my MS SQL7 server using TDS. As with
> recently the datetime values, I looked at convert.c for the conversion to a
> string representation (as I did with the datetimes recently).
>
> However, I seem to be unable to get values >=1. So e.g. "0.45633" works but
> "1.5465" not. In the latter case e.g. "00.000" is returned (depending on my
> format).
>
> What am I doing wrong?
>
> 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.