Example converting a string "123456789987654321" to integer value as 123456789987654321.
Answer by Molix
Apr 23, 2010 at 03:40 PM
For a long, I think you'll want Convert.ToInt64( "1234567890987654321" );
Answer by Ray Pendergraph
Apr 23, 2010 at 02:46 PM
Use the Convert class: http://msdn.microsoft.com/en-us/library/dsfy6sz9%28v=VS.100%29.aspx
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
No one has followed this question yet.
Input string to Color conversion
how to convert string into numbers in JS
Convert Array into One String (Js)
How To Switch A XmlNodeList To A String
How to convert a float to a string and then have it appear in a gui rect