From: River Tarnell Date: Wed, 28 Mar 2007 18:49:49 +0000 (+0000) Subject: this would be less silly if it used 2 dp X-Git-Tag: 1.31.0-rc.0~53557 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=e3e7c604aece3d672a4788bd45988d9d89fa0e3e;p=lhc%2Fweb%2Fwiklou.git this would be less silly if it used 2 dp --- diff --git a/maintenance/importDump.php b/maintenance/importDump.php index dcbf65f9dd..c7d36042a6 100644 --- a/maintenance/importDump.php +++ b/maintenance/importDump.php @@ -69,8 +69,8 @@ class BackupReader { if( $this->reporting ) { $delta = wfTime() - $this->startTime; if( $delta ) { - $rate = $this->pageCount / $delta; - $revrate = $this->revCount / $delta; + $rate = sprintf("%.2f", $this->pageCount / $delta); + $revrate = sprintf("%.2f", $this->revCount / $delta); } else { $rate = '-'; $revrate = '-';