Windows Forms App: type conversion

I am trying to make an app int visual c++, and its a windows forms app.I want to get a number from the user and do calculations with it. The problem is that textboxes use strings, and I want numbers. How do I get around this.
closed account (3hM2Nwbp)
 
System::Int32 System::Int32::Parse(System::String^ string); // <- Warning, may throw. 


Similar methods exist for System::Double and the rest of Microsoft's managed data types.
Last edited on
Topic archived. No new replies allowed.