Very Very Very Strange ??? - Calculate bug?
#2

Perhaps this would be because you're dividing an integer and not a float. You should try:

pawn Код:
printf("%0.2f", 9.0/10);
Or better, use the Floatdiv function.
Reply


Messages In This Thread
[SOLVED]Very Very Very Strange ??? - Calculate bug? - by Jeffry - 03.01.2011, 15:23
Re: Very Very Very Strange ??? - Calculate bug? - by JaTochNietDan - 03.01.2011, 15:43
Re: Very Very Very Strange ??? - Calculate bug? - by Babul - 03.01.2011, 15:44
Re: Very Very Very Strange ??? - Calculate bug? - by Jeffry - 03.01.2011, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)