This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Double values addition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Double values addition" Watch "Double values addition" New topic
Author

Double values addition

Vijay Chandran
Ranch Hand

Joined: Jan 07, 2007
Posts: 178
Dear friends,

I have written this code. Actually, this is a part of my application:


Its printing an incorrect value. The output must be 2000.09.
Please help me.

Regards,
Vijay
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Beginner question, not Intermediate. Anyway, see this recent thread.


Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Double values addition
 
Similar Threads
Help with Methods please
Arrays
How do I assign variables with values from a list?
NaN
Regarding TypeSafe Iterator