From f3cf85cd81ce3ef3c9409df30aea559d84f5a58b Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Fri, 3 Nov 2023 22:09:08 +0100 Subject: [PATCH] better --- last_stats.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/last_stats.php b/last_stats.php index d4bc922..c722d87 100644 --- a/last_stats.php +++ b/last_stats.php @@ -32,8 +32,8 @@ error_reporting(E_ALL); echo "Stats for $key (minimal 8 matches)"; echo ""; echo " - - + + @@ -41,7 +41,7 @@ error_reporting(E_ALL); - + "; @@ -75,7 +75,7 @@ error_reporting(E_ALL); : (is_numeric($player_data['KD_ALL']) ? number_format((float) $player_data['KD_ALL'], 2, ',', '') : "0")); // or any other default string for non-numerical values - $wins = number_format($player_data['wins'], 2, ',', ''); + $wins = number_format($player_data['wins'], 0, ',', ''); $winratio = number_format($player_data['winratio'], 2, ',', ''); $originalChange = str_replace(',', '.', $player_data['change']); // replace comma with period $change = floatval($originalChange);
PlayernameWin RatioPlayerWin % K/D (Human) K/D (All) KillsMtchs Wins DeathsWin Ratio changeWin % change