How to make Float number into a Text ?

Posts 1–15 of 16 · Page 1 of 2
How to make Float number into a Text ?
hey, can someone help me? how to make a float number like this:

Code:
51524.25391
in a text?!
Code:
char str[16];
float myfloat = 13.37;
sprintf(str,"%f",myfloat);
dont work
Yes it does:

Code:
char buffer[20];
float myfloat = 1234.5233;
sprintf(buffer, "%f", myfloat);
MessageBoxA(NULL, buffer, "As Float", MB_OK);
Quote Originally Posted by Jason View Post
Yes it does:

Code:
char buffer[20];
float myfloat = 1234.5233;
sprintf(buffer, "%f", myfloat);
MessageBoxA(NULL, buffer, "As Float", MB_OK);
no that don´t work! if i make that no text comes out!!!, only st*** number,.. but i like to see TEXT!
so float convert into a text,..
if i make this 51524.25391 in Cheat engine from float to text then its "ADIGA"

here is picture i made that proof that yours don´t work:
Quote Originally Posted by Code[VB] View Post
no that don´t work! if i make that no text comes out!!!, only st*** number,.. but i like to see TEXT!
so float convert into a text,..
if i make this 51524.25391 in Cheat engine from float to text then its "ADIGA"

here is picture i made that proof that yours don´t work:
Err, we dont know in which way Cheat Engine converts it.
Lol wtf are you even doing? We answered your question as it was asked, if you want text try

Code:
float yourshit = 133.337;
char *cPtr = (char*)yourshit;
MessageBoxA(NULL, cPtr, "test", MB_OK);
When he says the term "float"

He means he wants it to slowly rise up .
TYPE CASTING
btw dont copy paste its obvious you did if you can make a menu hack and not know what type casting is
Quote Originally Posted by kibbles18 View Post
TYPE CASTING
btw dont copy paste its obvious you did if you can make a menu hack and not know what type casting is
Yea, was wondering about that menu.
Quote Originally Posted by kibbles18 View Post
TYPE CASTING
btw dont copy paste its obvious you did if you can make a menu hack and not know what type casting is
lol what sh** are you talking? how should i know which number have a letter,.. i don´t know that,.. only want to convert like in cheat engine,.. :S
Quote Originally Posted by Code[VB] View Post
lol what sh** are you talking? how should i know which number have a letter,.. i don´t know that,.. only want to convert like in cheat engine,.. :S
Cast it.
You're a fucking idiot. Period.
You cant just cast random numbers to whatever text you want. Why not use text from the beginning?
Quote Originally Posted by Code[VB] View Post
hey, can someone help me? how to make a float number like this:

Code:
51524.25391
in a text?!
So if you don't know how to do this, how are you on G-FORCE? And you asked this same question on unreall skill.
Posts 1–15 of 16 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us