Sign in to follow this  
TexMurphy

Floats to strings

Recommended Posts

TexMurphy    122
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
_elf_    122
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

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