CRDBGrid and SummaryMode problem

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mariusz
Posts: 62
Joined: Wed 16 Jul 2008 21:04
Location: Poland / Poznan
Contact:

CRDBGrid and SummaryMode problem

Post by mariusz » Wed 16 Jul 2008 21:11

I'm trying to use SummaryMode in CRDBGrid with partial success. Some columns have correct sum (325 or 54788 or other), but in some i'he value like this: 3,5E4 or 2,3E2. Why? Is this a decimal number case?
How to correctly count real numbers?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 17 Jul 2008 08:54

Open the Columns property of TCRDBGrid. Then set the FloatFormat property of the TCRColumn to ffFixed and the FloatPrecision property to 18.

Post Reply