- Patch #267333 by cwgordon7: simepletest should round up, not round down.
parent
5c9d4b9c97
commit
61366679ac
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue