Raised This Month: $ Target: $400
 0% 

Formatting float


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 12-24-2015 , 15:55   Re: Formatting float
Reply With Quote #1

Like this?
PHP Code:
new Float:gVar 10.0

public function(id)
{
         
floatround(Float:gVar)
         
client_print(idprint_chat"Huehuehue : %d"gVar)

Just searched it
First time hearing about floatround, and what are the differences between methods? 2nd parameter of floatround.
redivcram is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode