This commit is contained in:
Thijs Stobbelaar 2023-10-03 14:00:41 +02:00
parent 22efa2817e
commit 890038db95

View file

@ -20,10 +20,10 @@ function get-change {
$change = 0 $change = 0
} else { } else {
# Decide how you want to handle this scenario # Decide how you want to handle this scenario
$change = [double]::PositiveInfinity $change = 0
} }
} else { } else {
$change =[math]::Round(((($winratio - $winratio_old) / $winratio_old) * 100) , 2) $change = [math]::Round(($winratio - $winratio_old) , 2)
} }
return $change return $change