git-svn-id: trunk@12087 -
This commit is contained in:
michael 2008-11-14 13:04:51 +00:00
parent 6b24dc9adc
commit 0d53564797

View File

@ -2031,8 +2031,9 @@ Var
Digits[DecimalPoint] := ' ';
{ Convert spaces left from obligatory decimal point to zeroes. }
I:=DecimalPoint-Placehold[2];
If (Value<0) and (I<DecimalPoint) then
If (Value<0) and (I<DecimalPoint) and (Digits[1]<>'-') then
begin
Writeln('Inserting - at ',I);
Insert('-',Digits,I);
Inc(DecimalPoint);
Inc(I);