From 890038db95fa9e8db65b7139f62c864b92ed03ae Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar 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 -- 2.49.1