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: Ken Collins <ken AT metaskills.net>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dbconvert SYBMONEY to String
  • Date: Tue, 5 Oct 2010 08:59:57 -0400


Fair enough, let me try that. Just wanted a glimmer of hope before going in a
few different directions.

- Ken

>> 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.






Archive powered by MHonArc 2.6.24.

Top of Page