Przeglądaj źródła

* fix formatting of the writing of the fraction

git-svn-id: trunk@35235 -
florian 8 lat temu
rodzic
commit
3706ab4e44
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tests/bench/timer.pas

+ 1 - 1
tests/bench/timer.pas

@@ -68,7 +68,7 @@ unit timer;
 {$ifdef USEEPIK}
 {$ifdef USEEPIK}
            write(stderr,e:0:6,' Seconds');
            write(stderr,e:0:6,' Seconds');
 {$else USEEPIK}
 {$else USEEPIK}
-           write(stderr,s div 1000,'.',format('%03d',[s mod 1000]),' Seconds');
+           write(stderr,s div 1000,'.',format('%.3d',[s mod 1000]),' Seconds');
 {$endif USEEPIK}
 {$endif USEEPIK}
       end;
       end;