SA-MP Forums Archive
Why should you convert integer into string? - 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)
+--- Thread: Why should you convert integer into string? (/showthread.php?tid=491701)



Why should you convert integer into string? - Unri - 31.01.2014

Hello. Is there any need to convert integers into strings with valstr? Why is it even needed? It makes something faster, reduces clients ram usage or what?


Re: Why should you convert integer into string? - Misiur - 31.01.2014

It's faster than using format. I think in fixes.inc there's version written by Slice which prevents runtime (!) crashing and is even faster than that.

#e: https://sampforum.blast.hk/showthread.php?pid=1790300#pid1790300


Re: Why should you convert integer into string? - Unri - 02.02.2014

Only that? :/