mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 06:59:21 +02:00
LazReport, force variant->double convertion on evaluating aggregate functions
git-svn-id: trunk@23557 -
This commit is contained in:
parent
db6fccf081
commit
87000aa680
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user