numberformat javascript code example
Example 1: Intl.NumberFormat
console.log(new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(number));
Example 2: javascript currencey formatter
npm install currency-formatter --save