diff --git a/components/rx/trunk/rxdbgrid.pas b/components/rx/trunk/rxdbgrid.pas index 116e8e103..84d7262e4 100644 --- a/components/rx/trunk/rxdbgrid.pas +++ b/components/rx/trunk/rxdbgrid.pas @@ -1249,7 +1249,7 @@ begin if FDisplayFormat = '' then Result := IntToStr(Round(FTestValue)) else - Result := Format(FDisplayFormat, [Round(FTestValue)]); + Result := FormatFloat(FDisplayFormat, FTestValue); end else begin