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

Author: Paul McNett

Posted: 2013-05-01 at 18:39:11

On 4/30/13 12:22 PM, Ed Leafe wrote:

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

I just wrote some test cases to show that indeed, Dabo does convert float to decimal.

Paul

_______________________________________________

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/5181A79F.3000304@ulmcnett.com

©2013 Paul McNett