problem with float
#7

Quote:
Originally Posted by (SF)Noobanatior
im guesing HouseCost[InHouse[playerid]] is a intger not a float and in this lies the problem
try
Код:
new Float:hc = HouseCost[InHouse[playerid]];
format(str, 128, "%.0f", hc / 2);
thanks thats working!
Reply


Messages In This Thread
problem with float - by D1ma - 16.06.2010, 18:00
Re: problem with float - by Cameltoe - 16.06.2010, 18:05
Re: problem with float - by D1ma - 16.06.2010, 18:15
Re: problem with float - by smeti - 16.06.2010, 22:41
Re: problem with float - by -Rebel Son- - 17.06.2010, 00:05
Re: problem with float - by (SF)Noobanatior - 17.06.2010, 05:05
Re: problem with float - by D1ma - 17.06.2010, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)