How to add two double values?
Hi.
I am facing this problem.
double d1=5421.725
double d2=10503.45
when i add d1+d2 in java , the value is 15925.175000000001.
But my doubt is how the last decimal value '1' comes in the value.
The answer should be 15925.175.
Please help me out to solve this problem.
Bye
Mullai

