SA-MP Forums Archive
Need some info about floats - 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: Need some info about floats (/showthread.php?tid=153585)



Need some info about floats - Micko9 - 09.06.2010

i remember something like those %2.f or something like that well i want my float in sendclient message to look like 0.00 and not 0.000000 . or 0.00 or 0.0


Re: Need some info about floats - Hiddos - 09.06.2010

%0.2f if I'm correct.


Re: Need some info about floats - Micko9 - 09.06.2010

Quote:
Originally Posted by Hiddos
%0.2f if I'm correct.
Yes im an RP HATer and im working on a RP GM Project ( for fun ) with progress bars ( witch use floats, of course ) and this is exactly what i needed


Re: Need some info about floats - Joe_ - 09.06.2010

Quote:
Originally Posted by Micko9
Quote:
Originally Posted by Hiddos
%0.2f if I'm correct.
Yes im an RP HATer and im working on a RP GM Project ( for fun ) with progress bars ( witch use floats, of course ) and this is exactly what i needed
OFFTOPIC

Lol, I myself just script for fun, I made a whole faction system, epic fun.