×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Paul Dettorre
Added: Mar 19, 2023 12:12 PM
Views: 0
Tags: no tags
  1. const ThousandNum = num => '$' + num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");