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
4.8k 16 27 66

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

answered Apr 23 '10 at 02:46 PM

raypendergraph gravatar image

raypendergraph
1.6k 15 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:

x420
x69

asked: Apr 23 '10 at 02:40 PM

Seen: 2639 times

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