Well, during the last couple of weeks, you would surf the various postings
that have appeared regarding this topic (you would have seen this done
quite a few times). Or you can check the archives for other approaches.
Basically:
void MyFunc()
{
float fnum;
char textnum[5];
fnum = 5.63;
StrSprintf(textnum,"%1.2f",fnum);
// do something with textnum
}
john
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of EMILIO
MIRANDA ZARATE
Sent: Tuesday, November 14, 2000 4:05 PM
To: Palm Developer Forum
Subject: converting float
Hello
How do I convert a float like 5.63 into a string ???
Thanks a lot.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/