|
@@ -53,11 +53,11 @@ end;
|
|
i:=i-j;
|
|
i:=i-j;
|
|
if trunc(i) <> trunc(89.9) then
|
|
if trunc(i) <> trunc(89.9) then
|
|
result := false;
|
|
result := false;
|
|
- WriteLn('Result (89.9) :',i);
|
|
|
|
|
|
+ WriteLn('Result (89.9) :',i,' trunc(i)=',trunc(i),' trunc(89.9)=',trunc(89.9));
|
|
i:=j-i;
|
|
i:=j-i;
|
|
if trunc(i) <> trunc(-79.9) then
|
|
if trunc(i) <> trunc(-79.9) then
|
|
result := false;
|
|
result := false;
|
|
- WriteLn('Result (-79.9) :',i);
|
|
|
|
|
|
+ WriteLn('Result (-79.9) :',i,' trunc(i)=',trunc(i),' trunc(-79.9)=',trunc(-79.9));
|
|
j:=j-10.0;
|
|
j:=j-10.0;
|
|
if j <> 0.0 then
|
|
if j <> 0.0 then
|
|
result := false;
|
|
result := false;
|