Convert from string to double

Posted on 2009-12-18
Last Modified: 2012-05-08

how can I convert string to double by assembly?

Question by:mohannad399
    LVL 11

    Expert Comment

    try this: System.Convert.ToDouble(yourString);
    LVL 9

    Expert Comment

    For C#: You can also use  Double.TryParse(str);
    For C++:
    #include "sstream"
    #include "string"
    using namespace std;

    stringstream ss;
    string str="1.23";
    double d;
    LVL 40

    Accepted Solution

    If I have understood you correctly, then you are looking to convert string to double in Assembly language,
    then try the following link

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    This algorithm (in C#) will resize any image down to a given size while maintaining the original aspect ratio. The maximum width and max height are both optional but if neither are given, the original image is returned. This example is designed t…
    Article by: Nadia
    Linear search (searching each index in an array one by one) works almost everywhere but it is not optimal in many cases. Let's assume, we have a book which has 42949672960 pages. We also have a table of contents. Now we want to read the content on p…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now