i am facing this problem in python below is the code in python
>>> p=350.
>>> p-=0.1
>>> p-=0.1
>>> print p-349.8
-5.68434188608e-14
>>>
i have checked this program many times and i think the output of print p-349.8
should have come 0.
i have also tried this in other languages too in c++ , Java and python
and i want output to come 0.0
please help