Jump to content
  • Advertisement
Sign in to follow this  
TexMurphy

Floats to strings

This topic is 3890 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

Hi there, I need a way to convert a float to a string. I'm using C++ with Vis Stud 2005, and am using the MFC. It's for a calculator, so the size will need to be limited. A dot will always be the decimal seperator. Thanks very much

Share this post


Link to post
Share on other sites
Advertisement
You can use function _fcvt. For more information use this link (ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_vccrt/html/74584c88-f0dd-4907-8fca-52da5df583f5.htm) in help.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!