• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Double values addition

 
Vijay Chandran
Ranch Hand
Posts: 186
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Beginner question, not Intermediate. Anyway, see this recent thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic