There are some non-standard nice library classes you can use for this purpose. Just google it. These classes enable you to format things like you are working with c/c++.
Lee Chin Khiong <[EMAIL PROTECTED]> wrote: How to format a double in JSP or java ? for example : 10/3=3.3333333333333 I want to format it to 3.33. --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search