Skip to content

Commit

Permalink
Merge pull request smogon#159 from Antar1011/patch-3
Browse files Browse the repository at this point in the history
Duelling COILs
  • Loading branch information
Zarel committed Mar 22, 2014
2 parents ef49708 + ffb663b commit 2489a1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ladder.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
<tr<?php /* if (floatval($row['rprd']) > 100) echo ' style="color:#999"'; */ ?>>
<td><?php echo $i; ?></td><td><?php echo htmlspecialchars($row['username']); ?></td><td><strong><?php echo round($row['acre']); ?></strong></td><td><?php echo number_format($row['gxe'],1); ?></td>
<td><?php echo '<em>'.round($row['rpr']).'<small> &#177; '.round($row['rprd']).'</small></em>'; /* if (floatval($row['rprd']) > 100) echo ' <small>(provisional)</small>'; */ ?></td>
<td><?php echo number_format($N ? 40*$row['gxe']*pow(2.0,-43.0/$N) : 0,1,'.',''); ?></td>
<td>
<?php if ($row['formatid'] == 'lcsuspecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-43.0/$N) : 0,1,'.','');
elseif ($row['formatid'] == 'oususpecttest') echo number_format($N ? 40*$row['gxe']*pow(2.0,-17.0/$N) : 0,1,'.','');
else echo '--'; ?></td>
</tr>
<?php
}
Expand Down

0 comments on commit 2489a1b

Please sign in to comment.