??? 07/27/06 01:30 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#121139 - Ok...... Responding to: ???'s previous message |
The solution is obvious to most of us! However, something like sprintf(buf,"%f",fval); /* fval is floating val, buf is char array */ Satish, read up on printf/sprintf for the formatting options. Realise that calling this function will increase you code size significantly. Whilst we are willing to answer your questions, simple ones like these suggest you haven't done enough reading. It is all too easy to post questions on forums, may I suggest that in future that you try to do some research first! There might also be a function called 'ftoa' float to ascii. |
Topic | Author | Date |
How to convert flot to string | 01/01/70 00:00 | |
What in ? | 01/01/70 00:00 | |
Obvious? | 01/01/70 00:00 | |
Ok...... | 01/01/70 00:00 | |
The standard 'C' Library | 01/01/70 00:00 | |
ecvt | 01/01/70 00:00 | |
Look again | 01/01/70 00:00 | |
thank you andy | 01/01/70 00:00 | |
Vsprintf | 01/01/70 00:00 | |
Why not sprintf?![]() | 01/01/70 00:00 |