removing decimal
#1

for example i have
Код:
new Float:RobSkill = 1.4;
format(String, sizeof(String), "%0.1f", RobSkill);
That will print 1.4, how can i that it prints 1?
Reply


Messages In This Thread
removing decimal - by armyoftwo - 02.01.2011, 10:33
Re: removing decimal - by Joe Staff - 02.01.2011, 10:38
Re: removing decimal - by Jochemd - 02.01.2011, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)