diff --git a/play.pokemonshowdown.com/js/client-chat.js b/play.pokemonshowdown.com/js/client-chat.js index 7a07b3e39..f359a5aa3 100644 --- a/play.pokemonshowdown.com/js/client-chat.js +++ b/play.pokemonshowdown.com/js/client-chat.js @@ -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 += '' + BattleLog.escapeFormat(formatId) + '' + Math.round(row.elo) + ''; + buffer += '' + BattleLog.escapeFormat(formatId) + '' + Math.floor(row.elo) + ''; if (row.rprd > 100) { // High rating deviation. Provisional rating. buffer += '–'; diff --git a/play.pokemonshowdown.com/src/panel-ladder.tsx b/play.pokemonshowdown.com/src/panel-ladder.tsx index ab57c9286..ce731f79c 100644 --- a/play.pokemonshowdown.com/src/panel-ladder.tsx +++ b/play.pokemonshowdown.com/src/panel-ladder.tsx @@ -188,7 +188,7 @@ class LadderFormatPanel extends PSRoomPanel { > {row.username} - {row.elo.toFixed(0)} + {Math.floor(row.elo)} {Math.trunc(row.gxe)}.{row.gxe.toFixed(1).slice(-1)}% {row.rpr.toFixed(0)} ± {row.rprd.toFixed(0)} {showCOIL && {row.coil?.toFixed(0)}}