Iraqi Dinar
IQDPrimary country: Iraq
Symbol
ع.د
Decimal Places
3
ISO Numeric
368
Formatting Example
ع.د1,234.567
Usage in Code
// JavaScript Intl.NumberFormat
new Intl.NumberFormat('en', {
style: 'currency',
currency: 'IQD'
}).format(1234.56)
// → "ع.د1,234.567"
// ISO 4217 code: IQD
// Numeric code: 368
// Minor unit: 3 decimal placesAbout Iraqi Dinar
The Iraqi Dinar (IQD) is the official currency of Iraq, identified by the ISO 4217 code "IQD" and numeric code 368. Its symbol is ع.د, and amounts are typically formatted with 3 decimal places (e.g., ع.د1,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 IQD 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 USD) to avoid floating-point precision errors. Use the decimal places value (3) to correctly convert between major and minor units. APIs like exchangeratesapi.io and Open Exchange Rates provide real-time conversion rates for IQD.