+ 2
ParseInt problem
I try to use parseint on a text input. If I put 2 I get 2 that’s correct . If I enter 2W I get 2 instead of NaN . How to proceed?
4 Respostas
+ 1
Thank you all for your answers !
It helps me very much
+ 1
You can use Number() to get your desired effect.