diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2017-01-04 22:57:43 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2017-01-04 22:57:43 +0000 |
commit | 2b18f0db5a3fd559a87f12aa2331f6979a0edf7b (patch) | |
tree | 51a6656d4efc456c7150bb198a25a59fc8d223dd /tests/bench | |
parent | 0ffd69355bf281bcc0ad63f8530f99ae0a1b3fab (diff) | |
download | fpc-2b18f0db5a3fd559a87f12aa2331f6979a0edf7b.tar.gz |
* fix formatting of the writing of the fraction
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@35235 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/bench')
-rw-r--r-- | tests/bench/timer.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bench/timer.pas b/tests/bench/timer.pas index ada0fbbaa5..56cee4a791 100644 --- a/tests/bench/timer.pas +++ b/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; |