G
Guest
Hi,
I have a web application doing some calculations
When i subract the double values it returns a wrong output
e.g.
Convert.ToDouble("130.78") - Convert.ToDouble("127.99")
O/p is
2.7900000000000063
Which is not correct?
Any ideas how can subract and get the correect output
Thanks
Prasad
I have a web application doing some calculations
When i subract the double values it returns a wrong output
e.g.
Convert.ToDouble("130.78") - Convert.ToDouble("127.99")
O/p is
2.7900000000000063
Which is not correct?
Any ideas how can subract and get the correect output
Thanks
Prasad