Skip to content

Converting a String Integer to Integer in Javascript

July 16, 2010

Converting a string integer to an integer is actually very familiar if you have ever worked with the Java language:

var myIntString = “15”;

var myInt = parseInt(myIntString);

That’s all it takes!

Thanks for viewing my blog, and don’t forget to follow me on Tumblr, Youtube, and Twitter!!!

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: