I would like to round up to two decimal places in Powershell.
I start with the double "178.532033". If I use the Excel ROUNDUP function to two decimal places I get "178.54".
=ROUNDUP(A1,2)
However, if I use the Round function contained within the Math class in Powershell I get the result "178.53" (because I am rounding as opposed to rounding up):
$value = 178.532033
Write-Output = ([Math]::Round($value, 2))
Is there a way to round up to two decimal places in Powershell?