Skip to Content.
Sympa Menu

freetds - Re: money & smallmoney fixes uploaded

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Mark Schaal <mark AT champ.tstonramp.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: money & smallmoney fixes uploaded
  • Date: Fri, 3 Sep 1999 10:39:56 -0700 (PDT)


>
>
> Seems to work just fine. My only complaint is that 3.00 is returned as 3,
> but that's livable.
>

That's good to hear. Since the number is returned as a flt8, under perl
I would expect 3 and 3.00 to be the same thing. (Also, since money is
kept in ten-thousandths shouldn't that be 3.0000? :-) You might try
something like CONVERT(varchar(8), price) in the SQL if you really need
the decimal places.

Mark
--
Mark J. Schaal Phone: (909) 620-7724
TST On Ramp Fax: (909) 620-8174
System Administrator E-Mail: mark AT tstonramp.com




Archive powered by MHonArc 2.6.24.

Top of Page