ucozpp, first of all, you need to put the number into a DIV or SPAN. I'll use DIV in my example, but I recommend to use SPAN:
After this, add the following code after the code mentioned above:
$(this).text( $(this).text().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,") );
Hope this helps!
hey i'm joe, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts
i do not work for the company anymore, sorry for the late replies
pfp by Natalie Butler