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