Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js format urcurency

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

formatter.format(2500); /* $2,500.00 */
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #format #urcurency
ADD COMMENT
Topic
Name
5+3 =