Title: | Atari ST, TT, & Falcon |
Notice: | Please read note 1.0 and its replies before posting! |
Moderator: | FUNYET::ANDERSON |
Created: | Mon Apr 04 1988 |
Last Modified: | Tue May 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1433 |
Total number of notes: | 10312 |
I am primer in megamax c and to take some acknolegment i rewrite some program examples.But i find some trouble with an instruction 'ftoa '.can somebody help me about it.i had found in library atof but not ftoa.is it possible to send me the ftoa.o and so i will put it in library. thank
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
768.1 | Can use 'sprintf' | MARVIN::FORSTER | Mon Feb 12 1990 06:12 | 9 | |
I'm not sure 'ftoa' is a standard function. However, the standard 'sprintf' function will give you the desired functionality. e.g to convert floating-point value x to it's ascii representation : char buf [20]; float x = 12.345; sprintf ( &buf,"%f",x ); |