SA-MP Forums Archive
help | float to 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: help | float to integer (/showthread.php?tid=149331)



help | float to integer - _V1rTu4L_ - 21.05.2010

existent?
thanks for helpers


Re: help | float to integer - Blt950 - 21.05.2010

I don't understand the question completely.

Can you explain more?


Re: help | float to integer - russo666 - 21.05.2010

I think that i have seen something like that on the float.inc include. Check it out.


Re: help | float to integer - Calgon - 21.05.2010

Simple!

https://sampwiki.blast.hk/wiki/Strval
https://sampwiki.blast.hk/wiki/Floatstr


Re: help | float to integer - _V1rTu4L_ - 21.05.2010

i didnt mean to that..
1.0 - 1


Re: help | float to integer - russo666 - 21.05.2010

Like i said:

pawn Код:
/* Round a float into a integer value */
native floatround(Float:value, floatround_method:method=floatround_round);



Re: help | float to integer - _V1rTu4L_ - 21.05.2010

Quote:
Originally Posted by russooooo
Like i said:

pawn Код:
/* Round a float into a integer value */
native floatround(Float:value, floatround_method:method=floatround_round);
thank you so much!