Raised This Month: $ Target: $400
 0% 

percent


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 01-06-2013 , 04:14   Re: percent
Reply With Quote #9

Quote:
Originally Posted by rak View Post
or you can show the decimals only

PHP Code:
client_print(indexprint_chat"Percent: %0.0f", ( float(earned) / float(total) ) *100.0 
PHP Code:
client_print(indexprint_chat"Percent: %d"100 earned total 
__________________
Impossible is Nothing
Sylwester is offline
 



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 13:45.


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