Answers for "javascript currency number format indonesia"

0

javascript currency number format indonesia

console.log(new Intl.NumberFormat('id-ID', {
  style: 'currency',
  currency: 'IDR'
}).format(123456789)); // Rp 123.456.789,00

console.log(new Intl.NumberFormat('id-ID', {
  style: 'currency',
  currency: 'IDR',
  minimumFractionDigits: 0,
}).format(123456789)); // Rp 123.456.789
Posted by: Guest on October-27-2021

Code answers related to "javascript currency number format indonesia"

Code answers related to "Javascript"

Browse Popular Code Answers by Language