Skip to Content.
Sympa Menu

freetds - Re: [freetds] dbconvert SYBMONEY to String

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dbconvert SYBMONEY to String
  • Date: Tue, 5 Oct 2010 11:52:45 +0200

2010/10/5 Ken Collins <ken AT metaskills.net>

>
> So I was debugging all my money fields loosing their last 2 decimal places
> in my new client lib and noticed this in the source.
>
> test("MONEY", "-922337203685477.5808", "-922337203685477.58");
>
> Does this mean my client will always loose those last 2 values? Is there
> anything I can do?
>
>
Well... avoid conversion to string... bind/fetch to money structure.

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page