Answers for "convert a value to currency in javascript"

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

Code answers related to "convert a value to currency in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language