@NathanCruzAug 12.2022 — #A quick way to do this is by using toFixed() to round the number to a specific number of decimal places and then using regex to add the comma. Have in mind that .toFixed() rounds the number down (0-4) or up (5-9) you can then just concatenate "$ " with the result. (1234.56123).toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,'); // 1,234.56