Sprintf

From ElectroDragon Wiki

Example

float test1 = 3.54;
char num_char[4];
sprintf(num_char, "%f", test1);