title: Dividing unsigned long long
body: <p>Currently attempting to divide an unsigned long long by a static value.</p>
  
  <p>The unsigned long long contains the number of microseconds it took for an operation to complete. I want to take this value and convert it into seconds.</p>
  
  <p>Here is the code snippit:</p>
  
  <pre><code>double udDiffTime = ullHighResDiffTime / (unsigned long long)1000000;
  </code></pre>
  
  <p>In one case with my debugger, I can see ullHighResDiffTime = 639. Therefore, udDiffTime = 0.000639. However, I'm getting udDiffTime = 0.</p>
  
  <p>I'm sure I'm making a mistake somewhere. I've tried using 1000000LL instead of casting it using (unsigned long long), but there is no difference.</p>