Date: Tue, 28 Jul 1998 11:18:26 -0500 (CDT) From: Andrew Deren To: Grzegorz Adam Hankiewicz cc: djgpp AT delorie DOT com Subject: Re: Where is ftoa and ltoa? I need to convert float->string. In-Reply-To: <35bdb257.14590971@news.jet.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk You can always use sprintf to do the same thing sprintf(string, "%f", floatNumber); On Tue, 28 Jul 1998, Grzegorz Adam Hankiewicz wrote: > Hello. > > I need some functions to convert a float number to a string. > Browsing info I found atof,atol,atoi and itoa, but where are ftoa and > ltoa? > Are those functions there or do I have to write my own? > > My GCC version is 2.7.2.1 + pgcc-2.90.23 980102 (egcs-1.0.1 release). > Do I have to upgrade the compiler? > > - Grzegorz Adam Hankiewicz - gah AT jet DOT es - http://web.jet.es/gregorio/ > - Gogosoftware - http://welcome.to/gogosoftware/ >