• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

Convert from string to double

hi,

how can I convert string to double by assembly?


thanks
0
mohannad399
Asked:
mohannad399
1 Solution
 
lenordisteCommented:
try this: System.Convert.ToDouble(yourString);
0
 
magicdlfCommented:
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;
ss<<str;
ss>>d;
0
 
Gurvinder Pal SinghCommented:
If I have understood you correctly, then you are looking to convert string to double in Assembly language,
then try the following link
http://www.osdata.com/topic/language/asm/convert.htm
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now