SA-MP Forums Archive
Converting a Float into an Integer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Converting a Float into an Integer (/showthread.php?tid=156961)



Converting a Float into an Integer - aNdReSk - 24.06.2010

Hello, I've seen this code

Код:
new Float:FloatValue
new Value = 52;
FloatValue = float(Value);
where u turn an integer to a float, how to do the opposite?




Re: Converting a Float into an Integer - Finn - 24.06.2010

https://sampwiki.blast.hk/wiki/Floatround