CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009

    converting textlabel to double

    I'm trying to convert the text string from a TextBox to a double by pressing a button
    I've found on the internet that this is done by:


    Intellisense doesn't show ToDouble...

    When building I get an error:

    error C2039: 'ToDouble' : is not a member of 'System::String'

    private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {

    How do I convert the string do a double?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: converting textlabel to double

    Wrong forum.
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.