> parseInt(1000)
1000
> parseInt(1000.0)
1000
> parseInt("1000.0")
1000
> parseInt(1e3)
1000
> parseInt("1e3")
1

WTFJS

So how to actually parse it with Javascript built-in? Spoiler alert - select the following white text:


parseInt(parseFloat(“1e3”)) —————- (Thanks @CAIndy)