What is the recommended way to convert a String into an Integer in JavaScript?

Please let me know.

Comments

  • JadokJadok Nantes, France
    edited May 2014

    You can use the function parseInt or parseFloat for that

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion