Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I found a weird problem with parseFloat. This is what I tried to do
parseFloat("167.89")+ parseFloat("-67.89").It returned 99.9999988, but not 100.Why is this so?Is this a bug with parseFloat?Please giv me a solution for this?