title: Evaluating negative numbers using powershell
body: <p>I am having a problem evaluating Negative numbers with Powershell.
  In this example -0.36 should have been less than -0.01. So $Bad_Note should be 0 and not 1</p>
  
  <pre><code>$Note = "0, -0.36"
  $Markup_Discount = ($Note -split ',')[1].trim()
  $Markup_Discount 
  $Bad_Note = 0
  if ($Markup_Discount -gt -0.01) {$Bad_Note = 1}
  $Bad_Note
  </code></pre>