title: How to get the n-last digits of a number?
body: <p>I´m converting a Linux Logger to work in windows.
  The logger prints with snprintf.
  In linux, this logger output timeofday.tv_usec , that give something like this :</p>
  
  <pre><code>Jun 24 18:30:31-232928 test-transport...
  </code></pre>
  
  <p>In my windows version, using QueryPerformanceCounter, i generate results like this:</p>
  
  <pre><code>jun 24 23:54:18-866568508 test-transport....
  </code></pre>
  
  <p>In Linux, the uSeconds have exactly 6 digits, but this windows function generate 9 digits. How could i print only the 6 last digits ? Remember that this is a time critical code.</p>