Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cdsanchez
· 14y ago · 0 comments
That only applies to parseInt because it tries to guess the radix if one isn't supplied. parseFloat assumes base 10 and doesn't accept a radix argument.
Comments
[–]
mikemaccana
14y ago
Oh that's neat. Thankyou.
[–]
VMG
14y ago
whoops, got out of bed too early