From f1191b21f2f37cb3beff5ee6131698e6e41d11a5 Mon Sep 17 00:00:00 2001 From: Lanta Date: Tue, 3 Oct 2023 14:00:41 +0200 Subject: [PATCH] 0 --- update/matchparser.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update/matchparser.ps1 b/update/matchparser.ps1 index d471224..238b438 100644 --- a/update/matchparser.ps1 +++ b/update/matchparser.ps1 @@ -20,10 +20,10 @@ function get-change { $change = 0 } else { # Decide how you want to handle this scenario - $change = [double]::PositiveInfinity + $change = 0 } } else { - $change =[math]::Round(((($winratio - $winratio_old) / $winratio_old) * 100) , 2) + $change = [math]::Round(($winratio - $winratio_old) , 2) } return $change