How do I convert float to string?
How do I convert float to string?
(OP)
I need to do some special formating on a float.
The only answer I can think of is converting to a string
then modify string.
Somthing like Basic sVar = STR(fVar)
The only answer I can think of is converting to a string
then modify string.
Somthing like Basic sVar = STR(fVar)
RE: How do I convert float to string?
sprintf(text,"%f",floatvalue)
hnd
hasso55@yahoo.com
RE: How do I convert float to string?
Sometimes the simplest things are the most difficult.
I just saw another thread with the same question on
an integer.
I don't think its obvious that sprintf is so flexable.
I assumed (wrongly) that print would only go to a device.