mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-17 14:20:40 +01:00
* Fixed BCDToStr for values between -1 and 0
git-svn-id: trunk@16952 -
This commit is contained in:
parent
e3885089c6
commit
7b8797afe7
@ -1728,7 +1728,10 @@ IMPLEMENTATION
|
|||||||
then begin
|
then begin
|
||||||
{$ifndef use_ansistring}
|
{$ifndef use_ansistring}
|
||||||
Inc ( l );
|
Inc ( l );
|
||||||
result[1] := '0';
|
if Neg then
|
||||||
|
result[2] := '0'
|
||||||
|
else
|
||||||
|
result[1] := '0'
|
||||||
{$else}
|
{$else}
|
||||||
result := result + '0';
|
result := result + '0';
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user