git-svn-id: trunk@39160 -
This commit is contained in:
michael 2018-06-02 11:00:18 +00:00
parent e2ed8e170e
commit 107999f706

View File

@ -1919,7 +1919,7 @@ begin
Result.sign:=0;
c := -c;
end;
n := NtoLE(int64(c));
n := NtoLE(Trunc(c*10000));
for i:=0 to high(Result.val) do begin
Result.val[i] := n and $ff;
n := n shr 8;