I am just wondering is there any wayto do formating on the number in Java like in pascaland c. for example, i would like to displace only 2decimal places or xxxxx.xx. when in pascal u put :5:2 orsomething like that or 0.2 for c.
The "java.text" package has all KINDS offormatting classes.<br><br>Check out java.text.DecimalFormatclass. If you download the javadocs for the SDK from thesun web site, you can check out all theAPI's.<br><br><br>Stephen McConnell<br>http://www.crosslogic.com