- Patch #267333 by cwgordon7: simepletest should round up, not round down.

merge-requests/26/head
Dries Buytaert 2008-06-06 16:53:48 +00:00
parent 5c9d4b9c97
commit 61366679ac
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ function _batch_process() {
}
$current = $total - $remaining + $finished;
$percentage = $total ? floor($current / $total * 100) : 100;
$percentage = $total ? round($current / $total * 100) : 100;
$values = array(
'@remaining' => $remaining,
'@total' => $total,