ID:1599014
 
(See the best response by Tarundbz.)
Code:
var/num=1000000

mob/Stat()
statpanel("Stats")
stat("test", abs(num))


Problem description: Is it possible I can somehow have to look like 1000000 instead of 1e+006?
You'll have to use a library (such as BigNum) in order to get more accurate numbers.
Best response
buddy just use this
proc/MaxNum(var/eNum,var/ShowCommas=1)
eNum=num2text(round(eNum),99)
if(ShowCommas && length(eNum)>3)
for(var/i=1;i<=round(length(eNum)/4);i++)
var/CutLoc=length(eNum)+1-(i*3)-(i-1)
eNum="[copytext(eNum,1,CutLoc)],[copytext(eNum,CutLoc)]"
return eNum

//after that

var/num=1000000

mob/Stat()
statpanel("Stats")
stat("test","[MaxNum(num)]")



and there you go it will work
Tarundbz answered it so I voted for him. I couldn't understand that bignum demo.