[Solved] Count problem
#1

Hy

I have a very simple code, what is dont work
So, the code:
pawn Код:
new Float:szam;
  szam = 10 / 4;
  printf("Result: %f", szam);
I cant why, but its dont work... It say 2.000000

Okey, solved... 10 is an integer number, you need use 10.0
Reply


Messages In This Thread
[Solved] Count problem - by godknightx - 24.11.2009, 14:16
Re: [Solved] Count problem - by dice7 - 24.11.2009, 14:21
Re: [Solved] Count problem - by godknightx - 25.11.2009, 13:23

Forum Jump:


Users browsing this thread: 1 Guest(s)