* Fix bug in FormatFloat: missing thousand sep when no decimal separator present. Patch by Bruno Fierens

This commit is contained in:
michael 2020-03-21 14:39:56 +00:00
parent fa3016bc4b
commit 9141c50a2c

View File

@ -1633,6 +1633,8 @@ Begin
if (Result<>'') and (Result[1]=' ') then
Delete(Result,1,1);
P:=Pos('.',Result);
if (P<=0) then
P:=Length(Result)+1;
Result:=ReplaceDecimalSep(Result,DS);
Dec(P,3);
if (TS<>'') and (TS<>#0) then