๐Ÿ‡ฎ๐Ÿ‡ฉ

Indonesia Number Format

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

Try It โ€” Live Preview

Number
1.234.567,89
Currency (IDR)
Rpย 1.234.568
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

Indonesia formatting implementation notes

For Indonesia, format numbers with the explicit locale id-ID; the reference value 1234567.89 renders as 1.234.567,89.

Indonesia's reference format uses "," as the decimal mark and period (".") for grouping. The integer uses repeating groups of three digits. Pass "id-ID" directly to Intl.NumberFormat instead of replacing punctuation in a preformatted string.

IDR is shown with Rp immediately before the amount; the same reference value renders as Rp1.234.567,89. The percent sign appears immediately after the amount. Use the ISO currency code for storage and interchange because a visible symbol can be shared by unrelated currencies.

Western 0โ€“9 digits are the page's reference digit system, and the negative pattern is -n. Treat id-ID as the reference locale for this page, but still respect the user's explicitly selected language and numbering-system preferences. Validate output with formatToParts() when spacing, signs, or bidirectional literals affect the interface.

  • Locale: id-ID
  • Decimal and grouping: 1.234.567,89
  • Currency: IDR โ†’ Rp1.234.567,89
  • Digits: Western 0โ€“9 digits

Reviewed 19 July 2026. Sources: Unicode locale number formats ยท Intl.NumberFormat reference

What's different here

  • Decimal mark is a comma (,) (en-US uses a period (.)).
  • Thousands are grouped with a period (.) (en-US uses a comma (,)).
  • No other Asia page in this directory shares this exact pattern; 13 pages in other regions do.
  • Nearby differences: Vietnam (vi-VN) places the currency symbol after the amount with a space; Cambodia (km-KH) places the currency symbol after the amount with a space.
  • Currency: IDR has ISO minor unit 2.
  • Postal address order: name โ†’ building โ†’ street + street number โ†’ district โ†’ city + postcode โ†’ region โ†’ country. See address formats.

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.568
new Intl.NumberFormat('id-ID', { style: 'currency', currency: 'IDR', currencySign: 'accounting' }).format(-1234567.89)