This topic is now archived and is closed to further replies.

convert type "string" to type "double" ??

This topic is 5672 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Use strtod if you have it, otherwise try string streams.

You can also try boost::lexical_cast (although I've never used it).

[edited by - IndirectX on June 5, 2002 3:39:13 PM]

Share this post

Link to post
Share on other sites