title: Math.round / Divide problem with a long value
body: <p>I have a problem with dividing a long value by 1000 and round it to an integer.</p>
  
  <p>My long value is: 1313179440000</p>
  
  <p>My code is</p>
  
  <pre><code>long modificationtime = 1313179440000;
  Math.round(modificationtime/1000l)
  </code></pre>
  
  <p>If i print out the divided and formated value, it returns me:
  1313179392</p>
  
  <p>so.</p>
  
  <pre><code>value   : 1313179440000
  expected: 1313179440
  got     : 1313179392
  </code></pre>
  
  <p>I do not know why this happens.
  Can anybody help me?</p>
  
  <p>best regards,
  prdatur</p>