Per cent calculation
#5

I've tried
pawn Код:
new Float: caution = ((CarInfo[car][cPrice]*30)/100);
printf("%d. %0.1f", CarInfo[car][cPrice], floatround(caution)); //price = 15 and caution's still 0
What's wrong?
Reply


Messages In This Thread
Per cent calculation - by Coicatak - 19.12.2009, 17:33
Re: Per cent calculation - by BeckzyBoi - 19.12.2009, 17:35
Re: Per cent calculation - by Joe Staff - 19.12.2009, 18:28
Re: Per cent calculation - by Coicatak - 19.12.2009, 18:44
Re: Per cent calculation - by Coicatak - 19.12.2009, 22:20
Re: Per cent calculation - by Coicatak - 19.12.2009, 22:45
Re: Per cent calculation - by DiddyBop - 19.12.2009, 23:43
Re: Per cent calculation - by Joe Staff - 20.12.2009, 00:46
Re: Per cent calculation - by Balon - 20.12.2009, 08:39
Re: Per cent calculation - by 1D10T - 24.01.2011, 14:40

Forum Jump:


Users browsing this thread: 2 Guest(s)