Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138249

JS 1000 - 999.99 gives wrong result 0.00999999999? [duplicate]

$
0
0

This question already has an answer here:

When i m trying to subtract 1000 - 999.99 it gives 0.00999999999 but When i m trying 100 - 99.99 it gives right answer that is 0.01. Why ??


Viewing all articles
Browse latest Browse all 138249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>