Negative SYBMONEY BUG

Koscheev Andrey andrey at eller.cz
Thu Sep 14 08:06:32 EDT 2000


Howdy,

Has anyone already mentioned that MONEY datatype is badly converted to char
when money value is negative?

On my Sybase ASE, TDS 4.2, dblib, Linux value -400.00 is displayed
as -399.9744  and -30000.00 is -29999.9744. When I am connected to the same
server from Microsoft's isql_w everything works fine.

I think the problem is inside tds_money_to_string function. If someone could
verify my guesses I would appreciate that.

Sincerely yours.

Andrey.




More information about the FreeTDS mailing list