Re: [dabo-users] Problem with custom sql-statement and getDataSet() with version>0.9.3

Author: Ed Leafe

Posted: 2013-04-30 at 14:22:15

On Apr 30, 2013, at 1:50 PM, Max Voß <max.voss@optik-stahr.de> wrote:

> That is strange, it is in fact a problem with the conversion of my

> float-fields when I change the db-fields from float to decimal-type,

> what is the better choice anyway, everything works like a charm. But I

> probably should open a ticket for that behaviour, since that isn't what

> it is supposed to do with float-fields, right?

There is a setting: convertFloatToDecimal. This defaults to True, so yes, it is expected behavior.

Paul wrote much of that code and probably has more experience with the float-to-decimal conversion, so I'm hoping he might chime in here.

-- Ed Leafe

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/BE273E34-4F79-4941-8D25-48B7FBA69B20@leafe.com

©2013 Ed Leafe