Raised This Month: $ Target: $400
 0% 

large numbers, easy comma formula?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 06-02-2010 , 15:45   large numbers, easy comma formula?
Reply With Quote #1

I am now dealing with large numbers, for instance, heres part of my vaultdata

Code:
"STEAM_0:1:23359736" "25352" 1275428793
"STEAM_0:0:26956338" "20203" 1275431316
"STEAM_0:0:2602896" "90" 1275442928
"STEAM_0:0:4195803" "15364" 1275433771
"STEAM_0:0:32292700" "1792" 1275432037
"STEAM_0:0:502059838" "80097" 1275433771
"STEAM_0:0:3617883" "30" 1275433598
"STEAM_0:1:10310702" "201246" 1275440328
middle column are the numbers im dealing with, as you can see, some are low, and some are high (highest on record was over 1 billion, we found out it will loop down into the negatives, im assuming that could be fixed by making the integers a string and using more str_to_num's... im rambling)
is there any way to have this output into a number with commas in it accordingly, like for the last entry
PHP Code:
client_print(idprint_chat, [AMXX] %syou have %s points!",name,CONVERTED_NUMBER) 
any easy formulas I can use in this code? or should I just forget about it?
__________________
+|- KARMA Respectively

HLM 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 05:18.


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