From 8af07f25823f2bda592758234aa15b29fcc797cd Mon Sep 17 00:00:00 2001 From: biglyderv Date: Tue, 28 Jan 2025 18:35:35 -0500 Subject: [PATCH] fix tiny values --- docs/stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/stats.php b/docs/stats.php index 76cd5d2..bf15489 100755 --- a/docs/stats.php +++ b/docs/stats.php @@ -78,7 +78,7 @@ $new_sum = array_sum($pr); foreach ($result as $usern) { $h = $pr[$usern['username']]; - $pr[$usern['username']] = (($h / $new_sum/* 1.32 */) * 100) * $dist + ($h * (1 - $dist)); + $pr[$usern['username']] = (pow($h / $new_sum,0.75) * 100) * $dist + ($h * (1 - $dist)); } }