[freetds] dbconvert SYBMONEY to String

Ken Collins ken at metaskills.net
Tue Oct 5 08:59:57 EDT 2010


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.





More information about the FreeTDS mailing list