This commit is contained in:
Lanta 2023-10-03 14:00:41 +02:00
parent 044b8fce9f
commit f1191b21f2

View file

@ -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