floats
#1

the fStock variable's value: 13.92
When i do this:
Код:
FactoryInfo[GetPVarInt(playerid, "InFactory")][fStock] -= 1.00;
Then it shows up as: 137853251231.00 can someone help me?
I use this format to show the value:
%0.2f
Reply


Messages In This Thread
SOLVED[Floats] - by armyoftwo - 09.10.2010, 09:48
Re: floats - by hencz - 09.10.2010, 09:54
Re: floats - by armyoftwo - 09.10.2010, 09:56
Re: floats - by Mean - 09.10.2010, 10:25
Re: floats - by armyoftwo - 09.10.2010, 11:35
Re: floats - by legodude - 09.10.2010, 11:58
Re: floats - by Voldemort - 09.10.2010, 12:48
Re: floats - by Babul - 09.10.2010, 13:01
Re: floats - by armyoftwo - 09.10.2010, 13:09
Re: floats - by armyoftwo - 09.10.2010, 13:16
Re: floats - by Babul - 09.10.2010, 13:37
Re: floats - by armyoftwo - 09.10.2010, 14:09

Forum Jump:


Users browsing this thread: 6 Guest(s)