From: martin AT loplop DOT com (Martin Peach) Newsgroups: comp.os.msdos.djgpp Subject: Re: Where is ftoa and ltoa? I need to convert float->string. Date: Tue, 28 Jul 1998 16:10:56 GMT Organization: Communications Accessibles Montreal, Quebec Canada Lines: 7 Message-ID: <35bdf7a2.1320501@nntp.hip.cam.org> References: <35bdb257 DOT 14590971 AT news DOT jet DOT es> NNTP-Posting-Host: dialup-898.hip.cam.org To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >I need some functions to convert a float number to a string. Try sprintf(stringBuf, "%f"); and all it's formatting variants like "%02.5f" as documented under printf. Martin.