@abhi9u to TechnologyEnglish • 7 months agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square43arrow-up1143arrow-down19cross-posted to: [email protected]
arrow-up1134arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.com@abhi9u to TechnologyEnglish • 7 months agomessage-square43cross-posted to: [email protected]
minus-square@SiegfriedlinkEnglish26•7 months agoIf i’m comparing ints with floats, it is my fault in the first place
If i’m comparing ints with floats, it is my fault in the first place
Exactly, I’d expect a warning, if not an error.