Answers for "intl.numberformat currencies code"

1

currency symbol with negative value in bracket intl.numberformat

Intl.NumberFormat('en-US', { currencySign: "accounting",currency: "gbp", style: 'currency' ,currencyDisplay: "narrowSymbol",minimumFractionDigits:2,maximumFractionDigits:2}).format(564564.233442);
Posted by: Guest on December-26-2020
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