LazReport, force variant->double convertion on evaluating aggregate functions

git-svn-id: trunk@23557 -
This commit is contained in:
jesus 2010-01-25 20:35:04 +00:00
parent db6fccf081
commit 87000aa680

View File

@ -9428,9 +9428,9 @@ begin
end
else if AggrBand.Visible then
begin
val := Copy(AggrBand.Values.Values[VarName], 2, 255);
val := StrToFloat(Copy(AggrBand.Values.Values[VarName], 2, 255));
if dk = dkAvg then
val := FloatToStr(StrToFloat(val) / AggrBand.Count);
val := val / AggrBand.Count;
Exit;
end;
end;