Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mrtbld
· 11y ago · 0 comments
But beware, with strict comparison: 1 ≠ 1.0 (because int ≠ float).
Comments
[–]
lsaferite
11y ago
But... wouldn't you expect that?
I mean, they AREN'T the same value really.
[–]
Rygu
11y ago
Agree, they aren't the same
type
to begin with.