Hi
for working with numbers and date check out the java.text package.
In your case, try the java.text.DecimalFormat.
You could also round a number to two decimal places by multiplying it by
tens multiple, taking the integral part and dividing by tens multiple.
Ex
x = x * 100;
x = integral part of x
x = x /100;
Hope this helps.
Ashish Shrestha
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets