x


How do I convert a string to a long integer type

Example converting a string "123456789987654321" to integer value as 123456789987654321.

more ▼

asked Apr 23, 2010 at 02:40 PM

Shafee gravatar image

Shafee
1 3 3 2

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

For a long, I think you'll want Convert.ToInt64( "1234567890987654321" );

more ▼

answered Apr 23, 2010 at 03:40 PM

Molix gravatar image

Molix
5.5k 41 54 107

(comments are locked)
10|3000 characters needed characters left
more ▼

answered Apr 23, 2010 at 02:46 PM

Ray Pendergraph gravatar image

Ray Pendergraph
1.8k 46 38 59

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x702
x112

asked: Apr 23, 2010 at 02:40 PM

Seen: 4328 times

Last Updated: Apr 23, 2010 at 02:40 PM