Browse Source

php - make block diff% 3 decimal places

master
kanoi 9 years ago
parent
commit
5efb849f6d
  1. 2
      pool/page_blocks.php

2
pool/page_blocks.php

@ -204,7 +204,7 @@ function doblocks($data, $user)
{
$pct = 100.0 * $diffratio;
list($fg, $bg) = pctcolour($pct);
$bpct = "<font color=$fg>$approx".number_format($pct, 2).'%</font>';
$bpct = "<font color=$fg>$approx".number_format($pct, 3).'%</font>';
$bg = " bgcolor=$bg";
$blktot += $diffacc;
if ($stat != 'Orphan')

Loading…
Cancel
Save