title: CMD set /a, modulus, and negative numbers
body: <p>Is CMD unable to evaluate the modulus of negative numbers using <code>set /a</code>?</p>
  
  <p><code>90 % 7</code> correctly equates to 6 in batch, however <code>-90 % 7</code> gives -6 instead of 1.</p>
  
  <p>I thought that it might have been evaluating <code>-(90 % 7)</code>, but this doesn't seem to be the case as <code>(-90) % 7</code> also gives -6.</p>
  
  <pre><code>h:\uprof&gt;set /a -90%7
  -6
  h:\uprof&gt;set /a (-90)%7
  -6
  </code></pre>
  
  <p>So - is this a limitation of CMDs set /a Modulus operator?</p>