@OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev • 5 days agoparseInt(5)lemmy.mlimagemessage-square61fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageparseInt(5)lemmy.ml@OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev • 5 days agomessage-square61fedilink
minus-square@spizzat2@lemm.eelinkfedilink0•5 days agoAnd to further expand on that, if you do pass in a sting, it handles it correctly. > parseInt('0.0000005') 0
And to further expand on that, if you do pass in a sting, it handles it correctly.
> parseInt('0.0000005') 0
What if I pass in a Sterwart Copeland?
or a Honda civic
😆 I’ll be watching you…