Andrés Mejía
Home
Blog
Contact
Convert string to integer in Javascript
Sep
08
1
2
var s =
"
1337
"
; alert(parseInt(s) *
2
);