??? 11/25/04 12:03 Read: times |
#81918 - sprintf Responding to: ???'s previous message |
Steve M. Taylor said:
I guess he wants float to string for display purposes, which can be done in a very small string handling routine. Dunno if there is a standard C function Yes there is: it's called sprintf() - as Donald has already mentioned: http://www.8052.com/forum/read.phtml?id=81846 |
Topic | Author | Date |
Scientific notation to normal notation | 01/01/70 00:00 | |
" | 01/01/70 00:00 | |
Notation | 01/01/70 00:00 | |
is this float to long? | 01/01/70 00:00 | |
Format | 01/01/70 00:00 | |
Ooops | 01/01/70 00:00 | |
sprintf | 01/01/70 00:00 | |
Time for clarification | 01/01/70 00:00 | |
" | 01/01/70 00:00 | |
Sprintf | 01/01/70 00:00 | |
" | 01/01/70 00:00 | |
" | 01/01/70 00:00 | |
WYGIWYAF | 01/01/70 00:00 | |
Hi | 01/01/70 00:00 | |
notation problem | 01/01/70 00:00 | |
try sprintf(buffer,"%f",result); | 01/01/70 00:00 | |
New habits | 01/01/70 00:00 | |
Exactly what it says on the tin!![]() | 01/01/70 00:00 |