var commas = num.toLocaleString("en-US");. Convert the number to a string, and use a regular expression replace. var commas ...
確定! 回上一頁