Rp

Indonesian Rupiah

IDR

Primary country: Indonesia

Symbol

Rp

Decimal Places

2

ISO Numeric

360

Formatting Example

Rp1.234.567

Usage in Code

// JavaScript Intl.NumberFormat
new Intl.NumberFormat('en', {
  style: 'currency',
  currency: 'IDR'
}).format(1234.56)
// → "Rp1.234.567"

// ISO 4217 code: IDR
// Numeric code: 360
// Minor unit: 2 decimal places

About Indonesian Rupiah

The Indonesian Rupiah (IDR) is the official currency of Indonesia, identified by the ISO 4217 code "IDR" and numeric code 360. Its symbol is Rp, and amounts are typically formatted with 2 decimal places (e.g., Rp1.234.567).

In software development, currency codes are essential for e-commerce, financial applications, and internationalization. The JavaScript Intl.NumberFormat API supports formatting amounts in IDR with locale-aware separators and symbols. Payment processors like Stripe and PayPal require ISO 4217 currency codes when processing transactions.

When building multi-currency applications, store amounts in the smallest unit (e.g., cents for IDR) to avoid floating-point precision errors. Use the decimal places value (2) to correctly convert between major and minor units. APIs like exchangeratesapi.io and Open Exchange Rates provide real-time conversion rates for IDR.

Related Currencies