where to find info about this? - 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: where to find info about this? (
/showthread.php?tid=73197)
where to find info about this? -
Khelif - 13.04.2009
hello
I have searched some info about '%s' '%d' '%.3f' '%.0f' '%d' thingys, but found nothing besides whole new level of frustration..
please can someone provide me a link?
Re: where to find info about this? -
FUNExtreme - 13.04.2009
Quote:
Originally Posted by Khelif
hello
I have searched some info about '%s' '%d' '%.3f' '%.0f' '%d' thingys, but found nothing besides whole new level of frustration..
please can someone provide me a link?
|
In simple words
%s = for letters just like these
%d = %i = for a number (1 or 402)
%f = for floats (1.5464 or 486.46186)
%.3f = floats but with only 3 numbers after the , (1.333 or 5.486)
%.0f = floats but no numbers after the , = %d
Re: where to find info about this? -
Khelif - 13.04.2009
yes thanks, I was just wondering how to do 1000000 => 1.000.000?