diff --git a/components/rx/trunk/curredit.pas b/components/rx/trunk/curredit.pas index 5f74c14ec..ecd483632 100644 --- a/components/rx/trunk/curredit.pas +++ b/components/rx/trunk/curredit.pas @@ -657,6 +657,9 @@ function TCustomNumEdit.FormatDisplayText(Value: Extended): string; var Digits : integer; begin + if FZeroEmpty and (Value = 0) then + Result:='' + else if DisplayFormat <> '' then Result:=FormatFloat(DisplayFormat, Value) else