Float? No idea.
#1

I had a problem with floats.

static Float:testnumber = 3.01;
printf("%f", testnumber);

Results:

3.00.

Do you have any idea why I'm having 3.00 instead of 3.01?

Thanks.
Reply


Messages In This Thread
Float? No idea. - by Ubuntu - 11.01.2012, 19:14
Re: Float? No idea. - by Psymetrix - 11.01.2012, 19:15
AW: Float? No idea. - by Ubuntu - 11.01.2012, 19:21
Re: Float? No idea. - by Gh05t_ - 11.01.2012, 19:23
AW: Float? No idea. - by Ubuntu - 11.01.2012, 19:25
Re: Float? No idea. - by Psymetrix - 11.01.2012, 19:44
AW: Float? No idea. - by Ubuntu - 11.01.2012, 19:54
AW: Float? No idea. - by Ubuntu - 11.01.2012, 19:57

Forum Jump:


Users browsing this thread: 3 Guest(s)