![]() |
|
#1
|
|||
|
|||
convert string to double and double to stringI need to convert a string type into double to do some calculations and then again convert the resulting double into string to output. The rpogram is being written using Visual C++ - Microsoft Foundation Classes. Any help is much appreciated.
|
|||
|
#2
|
||||
|
||||
Re: convert string to double and double to stringFor string-to-double, see the strtod() function.
To put it back in a string, use the CString's Format() member function. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: convert string to double and double to stringThanks a lot! It works fine.
I wish the msdn search engine could provide such nice short directions. Vardan |
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a tester class and then some. | postage | Java Forum | 1 | 06-May-2006 15:48 |
| Powell Method | EngineerFORhire | C Programming Language | 5 | 01-Oct-2005 00:34 |
| Help wit my source code compiler errors | Krandygrl00 | C++ Forum | 1 | 06-Jun-2005 08:14 |
| Double output | leanieleanz | C++ Forum | 1 | 11-Mar-2005 20:19 |
| Quick help - redefinition error | leanieleanz | C++ Forum | 1 | 08-Mar-2005 00:32 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The