Hacker News new | past | comments | ask | show | jobs | submit login

But beware, with strict comparison: 1 ≠ 1.0 (because int ≠ float).



But... wouldn't you expect that?

I mean, they AREN'T the same value really.


Agree, they aren't the same type to begin with.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: