Number formatting in Java
<p>I need the following number format in java:</p>

<pre><code>long a=5000;
</code></pre>

<p>Expected output is : 
<code>50,00</code></p>

<p>if </p>

<pre><code>long a = 25624;
</code></pre>

<p>Expected output is : <code>256,24</code></p>

<pre><code>long a = 614324;
</code></pre>

<p>Expected output is </p>

<pre><code>6143,24
</code></pre>

<p>How can I get this in java?</p>
