Y
YLD
Hi,
How could I copy a float to a string?
For example:
float number = 12.34;
char numberstring[5];
*introduce some magic code here*
resulting in numberstring == [ '1' | '2' | '.' | '3' | '4' | '\0' ]
Or soemthing similar... I thought it would be something very easy, but
after looking the FAQ and searching google I cant find an appropriate
way.
Thank you.
How could I copy a float to a string?
For example:
float number = 12.34;
char numberstring[5];
*introduce some magic code here*
resulting in numberstring == [ '1' | '2' | '.' | '3' | '4' | '\0' ]
Or soemthing similar... I thought it would be something very easy, but
after looking the FAQ and searching google I cant find an appropriate
way.
Thank you.