Sign in to follow this  

Floats to strings

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

This topic is 3675 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this