function commafy(num)
{
num = num+"";
var re=/(-?\d+)(\d{3})/
while(re.test(num))
{
num=num.replace(re,"$1,$2")
}
return num;
}
function commafy(num)
{
num = num+"";
var re=/(-?\d+)(\d{3})/
while(re.test(num))
{
num=num.replace(re,"$1,$2")
}
return num;
}
© 2009 路在前方 向前走吧 !! | Blogger Templates created by Deluxe Templates
Powered by Blogger | Wordpress Theme by danielfajardo web
0 意見:
張貼留言