DEV Community

Discussion on: What is the oddest JavaScript behavior?

Collapse
keptoman profile image
mlaj

Adding floats. It won't give the right answer. It's a common problem in programming languages.

Collapse
adam_cyclones profile image
Adam Crockett

Yeah I had a suspension that was the case. Still it's odd and it doesn't not affect JavaScript so I'm technically correct. 🙃