I am wanting to display large numbers more nicely with commas. So if the number was say 123456789, it would display 123,456,789. I have looked around but I only found code t
You can use toLocaleString:
num.toLocaleString('en', {useGrouping:true})