query: Why `0.4/2` equals to `0.2` meanwhile `0.6/3` equals to `0.19999999999999998` in python?
positive_passages.docid: 43
positive_passages.text: Is floating point math broken?
negative_passages.docid: 16287
negative_passages.text: Why do I see a double variable initialized to some value like 21.4 as 21.399999618530273?
negative_passages.docid: 46130
negative_passages.text: "new BigDecimal(13.3D)" results in imprecise "13.3000000000000007105.."?
negative_passages.docid: 38743
negative_passages.text: strange output in comparison of float with float literal
negative_passages.docid: 60892
negative_passages.text: Python float to ratio
negative_passages.docid: 43111
negative_passages.text: Display a float with two decimal places in Python
negative_passages.docid: 15824
negative_passages.text: What is the result of % in Python?
negative_passages.docid: 48075
negative_passages.text: How do I parse a string with a decimal point to a double?
negative_passages.docid: 123829
negative_passages.text: How to round decimal value up to nearest 0.05 value?
negative_passages.docid: 65178
negative_passages.text: int((0.1+0.7)*10) = 7 in several languages. How to prevent this?
negative_passages.docid: 10692
negative_passages.text: Why is 24.0000 not equal to 24.0000 in MATLAB?
negative_passages.docid: 131055
negative_passages.text: What is the difference between the float and integer data type when the size is the same?
negative_passages.docid: 67369
negative_passages.text: Why can't decimal numbers be represented exactly in binary?
negative_passages.docid: 79113
negative_passages.text: Error subtracting floating point numbers when passing through 0.0
negative_passages.docid: 37935
negative_passages.text: Floating point comparison
negative_passages.docid: 19004
negative_passages.text: How is floating point stored? When does it matter?
negative_passages.docid: 12987
negative_passages.text: "0.4 point" or "0.4 points"? "1.0 point" or "1.0 points"?