Answers for "number format js"

PHP
2

js format urcurency

// Create our number formatter.
var formatter = new Intl.NumberFormat('en-US', {
  style: 'currency',
  currency: 'USD',
});

formatter.format(2500); /* $2,500.00 */
Posted by: Guest on June-26-2020

Browse Popular Code Answers by Language