This commit is contained in:
Aurastic 2026-05-08 15:22:02 +05:30 committed by GitHub
commit 2e71ec2210
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1017,7 +1017,7 @@
if (typeof values[j] !== 'number' && typeof values[j] !== 'string' || isNaN(values[j])) return self.add('|raw|Error: corrupted ranking data');
}
buffer += '<td>' + BattleLog.escapeFormat(formatId) + '</td><td><strong>' + Math.round(row.elo) + '</strong></td>';
buffer += '<td>' + BattleLog.escapeFormat(formatId) + '</td><td><strong>' + Math.floor(row.elo) + '</strong></td>';
if (row.rprd > 100) {
// High rating deviation. Provisional rating.
buffer += '<td>&ndash;</td>';

View File

@ -188,7 +188,7 @@ class LadderFormatPanel extends PSRoomPanel<LadderFormatRoom> {
>
{row.username}
</span></td>
<td style={{ textAlign: 'center' }}><strong>{row.elo.toFixed(0)}</strong></td>
<td style={{ textAlign: 'center' }}><strong>{Math.floor(row.elo)}</strong></td>
<td style={{ textAlign: 'center' }}>{Math.trunc(row.gxe)}<small>.{row.gxe.toFixed(1).slice(-1)}%</small></td>
<td style={{ textAlign: 'center' }}><em>{row.rpr.toFixed(0)}<small> &plusmn; {row.rprd.toFixed(0)}</small></em></td>
{showCOIL && <td style={{ textAlign: 'center' }}>{row.coil?.toFixed(0)}</td>}