question on the output of double value
<p>In the code, I have</p>

<pre><code>int a = 62;
int b = 132;
double c;
c = (double) a/b;
System.out.println(c);
</code></pre>

<p>which prints out the value of c as  0.469696968793869<br>
How can I just keep a short format for c, like 0.4697</p>
