Re: [Dev-C++] Coverting a float to a string
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <jos...@ya...> - 2000-12-18 19:30:49
|
Look up in the help files "Standard C Library Reference " of Dev-C++ for sprintf That will do. Chemanuel --- Chris Bunney <ch...@cb...> escribió: > Hi everyone. > > Does anyone know how to convert a float into a char string? I > need to do the reverse of what atof() does. I have figured out how to > convert an integer to a string, but the decimal point is causing me > problems with a float. > > Can someone give me a nudge in the right direction? > > Thanks!! > > Chris > > ch...@cb... > > __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ |