Limiting double to 3 decimal places
<p>This i what I am trying to achieve:</p>

<p>If a double has more than 3 decimal places, only keep until the first 3 dec places (do not round.)</p>

<p>Eg.: 12.878999 -> 12.878</p>

<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, 
12.34567 -> 12.346</p>

<p>but I need it to stay: 12.345</p>
