Menu Close

Convert System::String to int and vice versa

Convert System::String to int

String^ strData0 = “12345690”;

int Data0 = Int32::Parse(strData0);

 

Convert int to System::String

int Data1 = 123456;

String^ strData1 = System::Convert::ToString( Data1 );

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

18,519 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>