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(id, print_chat, [AMXX] %s, you have %s points!",name,CONVERTED_NUMBER)
any easy formulas I can use in this code? or should I just forget about it?
__________________