Float value problem.
#1

With this code:
pawn Код:
printf("%f | %f | %f | %f | %f | %f",10.1,20.1,30.1,40.1,50.1,60.1);
I have this result:
Код:
10.100000 | 20.100000 | 30.100000 | 40.099998 | 50.099998 | 60.099998
Only first three values are correct. What's wrong with other?
Reply


Messages In This Thread
Float value problem. - by Norck - 18.03.2011, 15:49
Re: Float value problem. - by Sascha - 18.03.2011, 15:59
Re: Float value problem. - by Norck - 18.03.2011, 16:14
Re: Float value problem. - by Kyosaur - 18.03.2011, 16:19
Re: Float value problem. - by Norck - 18.03.2011, 16:37
Re: Float value problem. - by Kyosaur - 18.03.2011, 16:49
Re: Float value problem. - by Norck - 18.03.2011, 17:01
Re: Float value problem. - by Kyosaur - 18.03.2011, 17:05
Re: Float value problem. - by Norck - 18.03.2011, 17:15
Re: Float value problem. - by Norck - 18.03.2011, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)