hi all

I m new to Java and JSP, I have a question.

here is part of source of my program

double a=0.0494999997317791;

System.out.println("This is the value of a -->"+a);

it will print the following result

This is the value of a -->0.0494999997317791 

BUT I need the result like this

This is the value of a-->0.0495

How Can I do that?


                
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

Reply via email to