cody: fixed percent separator, bug #18758

git-svn-id: trunk@29563 -
This commit is contained in:
mattias 2011-02-15 18:58:18 +00:00
parent 650767b247
commit ca93fe85e5

View File

@ -586,7 +586,7 @@ begin
Result:=IntToStr(round(d*10000));
while length(Result)<3 do Result:='0'+Result;
Result:=copy(Result,1,length(Result)-2)
+DefaultFormatSettings.ThousandSeparator+RightStr(Result,2)+'%';
+DefaultFormatSettings.DecimalSeparator+RightStr(Result,2)+'%';
end;
function TPPUListDialog.BytesToStr(b: int64): string;