title: The opposite of the modulo operator?
body: <p>I remember in java that, the modulo operator could be inverted so that rather than seeing what the remainder is of an operation, you could invert it, so instead it will tell you many times a number was divided by:</p>
  
  <pre><code>Console.WriteLine(1000 % 90);
  Console.WriteLine(100 % 90);
  Console.WriteLine(81 % 80);
  Console.WriteLine(1 % 1);
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <ul>
  <li>10</li>
  <li>10</li>
  <li>1</li>
  <li>0</li>
  </ul>
  
  <p><em>Examples courtesy of DotNetPerls</em></p>
  
  <p>Rather than seeing  the remainder, I want to see how many times '80' went into '81'. Which should be 1 with a remainder of 1.</p>
  
  <p>Does the c# modulo operator support this behaviour? If not, how might achieve the desired behaviour? With minimal code please ... :D </p>
  
  <p>EDIT:</p>
  
  <p>I imagine the answer is going to be something simple like dividing the two numbers and getting rid of the '-.#' value and keeping the integer '1.-'. I know about this but there must be a slicker way of doing this?</p>