Converting number to comma separated format in java
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5379231/displaying-currency-in-indian-numbering-format">Displaying Currency in Indian Numbering Format</a>  </p>
</blockquote>



<p>I have input number "123456" and want to convert it to "1,23,456" format in Java?</p>

<p>1234--> 1,234
 and vice versa.</p>

<p>Any string operations present in Java library?</p>
