How to make Float number into a Text ?
hey, can someone help me? how to make a float number like this:
in a text?!
Code:
51524.25391
51524.25391
char str[16]; float myfloat = 13.37; sprintf(str,"%f",myfloat);

char buffer[20]; float myfloat = 1234.5233; sprintf(buffer, "%f", myfloat); MessageBoxA(NULL, buffer, "As Float", MB_OK);
float yourshit = 133.337; char *cPtr = (char*)yourshit; MessageBoxA(NULL, cPtr, "test", MB_OK);
.