Explorar el Código

* fix formatting of the writing of the fraction

git-svn-id: trunk@35235 -
florian hace 8 años
padre
commit
3706ab4e44
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/bench/timer.pas

+ 1 - 1
tests/bench/timer.pas

@@ -68,7 +68,7 @@ unit timer;
 {$ifdef USEEPIK}
            write(stderr,e:0:6,' Seconds');
 {$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}
       end;