title: How to convert milliseconds to seconds with precision
body: <p>I want to convert milliseconds to seconds (for example 1500ms to 1.5s, or 500ms to 0.5s) with as much precision as possible.</p>
  
  <p><code>Double.parseDouble(500 / 1000 + "." + 500 % 1000);</code> isn't the best way to do it: I'm looking for a way to get the remainder from a division operation so I could simply add the remainder on.</p>