🇮🇩

Indonesia

CLDR Locale:
ISO: ID / IDNRegion: AsiaDigits: western

Try It — Live Preview

Number
1.234.567,89
Currency (IDR)
Rp 1.234.567,89
Percentage
1.234.568%
Compact
1,2 jt

Format Rules

Decimal Separator
,comma
Thousands Separator
.period
Grouping Pattern
3
Negative Format
-1.234.567,89
Currency Symbol
Rp (IDR)
Currency Position
Before number Rp1.234.567,89
Percent Position
After number 13%
Zero
0,00
Compact
1,2 jt

Code Examples

// Basic number
new Intl.NumberFormat('id-ID').format(1234567.89)
// → "1.234.567,89"

// Currency
new Intl.NumberFormat('id-ID', {
  style: 'currency',
  currency: 'IDR'
}).format(1234567.89)
// → "Rp1.234.567,89"

// Percentage
new Intl.NumberFormat('id-ID', {
  style: 'percent',
  minimumFractionDigits: 1
}).format(0.125)

// Compact notation
new Intl.NumberFormat('id-ID', {
  notation: 'compact'
}).format(1234567)

Negative Number Formats

Standard-1.234.567,89
new Intl.NumberFormat('id-ID').format(-1234567.89)
Accounting style-Rp 1.234.567,89
new Intl.NumberFormat('id-ID', { style: 'currency', currency: 'IDR', currencySign: 'accounting' }).format(-1234567.89)