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 '10 at 02:40 PM

Shafee gravatar image

Shafee
1 1 1 1

(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 '10 at 03:40 PM

Molix gravatar image

Molix
5.2k 21 31 70

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

answered Apr 23 '10 at 02:46 PM

Ray Pendergraph gravatar image

Ray Pendergraph
1.7k 16 21 37

(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:

x580
x95

asked: Apr 23 '10 at 02:40 PM

Seen: 3554 times

Last Updated: Apr 23 '10 at 02:40 PM