title: Powershell Round Up Function
body: <p>I would like to round up to two decimal places in Powershell.</p>
  
  <p>I start with the double "178.532033". If I use the Excel ROUNDUP function to two decimal places I get "178.54".</p>
  
  <pre><code>=ROUNDUP(A1,2)
  </code></pre>
  
  <p>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):</p>
  
  <pre><code>$value = 178.532033
  
  Write-Output = ([Math]::Round($value, 2))
  </code></pre>
  
  <p>Is there a way to round up to two decimal places in Powershell?</p>