This question already has an answer here:
- Is floating point math broken? 31 answers
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 ??
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 ??