title: Limiting double to 3 decimal places
body: <p>This i what I am trying to achieve:</p>
  
  <p>If a double has more than 3 decimal places, I want to truncate any decimal places beyond the third. (do not round.)</p>
  
  <pre><code>Eg.: 12.878999 -&gt; 12.878
  </code></pre>
  
  <p>If a double has less than 3 decimals, leave unchanged</p>
  
  <pre><code>Eg.:   125   -&gt; 125
         89.24 -&gt; 89.24
  </code></pre>
  
  <p>I came across this command:</p>
  
  <pre><code>double example = 12.34567;
  double output = Math.Round(example, 3);
  </code></pre>
  
  <p>But I do not want to round. According to the command posted above, 
  <code>12.34567 -&gt; 12.346</code></p>
  
  <p>I want to truncate the value so that it becomes: <code>12.345</code></p>