DEV Community

Discussion on: You should stop using `parseInt()`

Collapse
 
darkmavis1980 profile image
Alessio Michelini • Edited

parseFloat is even worst than parseInt if you just want to convert a string to a number