ل.د

Libyan Dinar

LYD

Primary country: Libya

Symbol

ل.د

Decimal Places

3

ISO Numeric

434

Formatting Example

ل.د1,234.567

Usage in Code

// JavaScript Intl.NumberFormat
new Intl.NumberFormat('en', {
  style: 'currency',
  currency: 'LYD'
}).format(1234.56)
// → "ل.د1,234.567"

// ISO 4217 code: LYD
// Numeric code: 434
// Minor unit: 3 decimal places

About Libyan Dinar

The Libyan Dinar (LYD) is the official currency of Libya, identified by the ISO 4217 code "LYD" and numeric code 434. 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 LYD 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 LYD.

Related Currencies