Page 1 of 1

Float and Zeos 6.6.1

Posted: 01.11.2007, 16:11
by Slavikk
If Float field. For added value-3.86. When you see the number of through-TDBGrid see 4 (rather than 3,86). Turning

to editing cell TDBGrid-see 3.86. As always display 3,86 (number of TDBGrid Float through ZQuery)?

Posted: 02.11.2007, 05:37
by cipto_kh
It's because Zeos use TFloatField and not TBCDField. But to display correctly you must set the DisplayFormat property of the persistant field of your query to #,##0.##

Posted: 02.11.2007, 07:05
by Slavikk
Thanks

Posted: 02.11.2007, 10:08
by cipto_kh
Slavikk, what version of Zeos you are using? is it Rev305? because in that revision I see a bug in float field (the decimal part is not displayed), and I already solved it in Zeos bugtracker (bug 0000071).

Posted: 02.11.2007, 19:24
by mdaems
It's solved in SVN testing branch as well (Rev 308). Bug 71 slipped in when I committed rev 202, 203 and 204. Unfortunately it did get in trunk as well. There it will be fixed in next merge.

Mark

Posted: 09.11.2007, 07:01
by Slavikk

Posted: 09.11.2007, 08:10
by mdaems
Try http://zeosdownload.firmos.at/downloads/snapshots . Here you can find the most recent versions. (=including bug fixes) When you want to be safe use trunk version. If your problem persists please drop a sample project (including data creation script) in the bug tracker.

Mark

Posted: 14.11.2007, 06:45
by Slavikk
Thanks