Skip to Content.
Sympa Menu

freetds - Negative SYBMONEY BUG

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Koscheev Andrey" <andrey AT eller.cz>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Negative SYBMONEY BUG
  • Date: Thu, 14 Sep 2000 14:06:32 +0200


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.




  • Negative SYBMONEY BUG, Koscheev Andrey, 09/14/2000

Archive powered by MHonArc 2.6.24.

Top of Page