Today, I have seen strange issue with parseFloat
in Javascript. When I an doing addition operation of the value I have seen some strange values, below are the examples:
parseFloat("31.099")+1;
Output:
32.099000000000004
Why do I have only problem with 31.099?