Page 1 of 1

CRDBGrid and SummaryMode problem

Posted: Wed 16 Jul 2008 21:11
by mariusz
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?

Posted: Thu 17 Jul 2008 08:54
by Plash
Open the Columns property of TCRDBGrid. Then set the FloatFormat property of the TCRColumn to ffFixed and the FloatPrecision property to 18.