get format of int number js 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