Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Floating point numbers

Posted on 1998-06-02
1
Medium Priority
?
251 Views
Last Modified: 2010-04-01
Hello,

What is the best way to convert float numbers to strings and back to float numbers?

thanks
draw
0
Comment
Question by:draw
1 Comment
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 200 total points
ID: 1165143
Use _fcvt and strtod
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

971 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