mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 11:49:14 +02:00
parent
6b24dc9adc
commit
0d53564797
@ -2031,8 +2031,9 @@ Var
|
|||||||
Digits[DecimalPoint] := ' ';
|
Digits[DecimalPoint] := ' ';
|
||||||
{ Convert spaces left from obligatory decimal point to zeroes. }
|
{ Convert spaces left from obligatory decimal point to zeroes. }
|
||||||
I:=DecimalPoint-Placehold[2];
|
I:=DecimalPoint-Placehold[2];
|
||||||
If (Value<0) and (I<DecimalPoint) then
|
If (Value<0) and (I<DecimalPoint) and (Digits[1]<>'-') then
|
||||||
begin
|
begin
|
||||||
|
Writeln('Inserting - at ',I);
|
||||||
Insert('-',Digits,I);
|
Insert('-',Digits,I);
|
||||||
Inc(DecimalPoint);
|
Inc(DecimalPoint);
|
||||||
Inc(I);
|
Inc(I);
|
||||||
|
Loading…
Reference in New Issue
Block a user