how to change the double value as four decimal point value
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2808535/round-a-double-to-2-significant-figures-after-decimal-point">Round a double to 2 significant figures after decimal point</a>  </p>
</blockquote>



<p>i've got lat and long point like this, </p>

<pre><code>x1: 11.955165229802363
y1: 79.8232913017273
</code></pre>

<p>i need to convert 4 decimal point </p>

<pre><code>x1 = 11.9552
y1 = 79.8233
</code></pre>
