USh

Ugandan Shilling

UGX

Primary country: Uganda

Symbol

USh

Decimal Places

0

ISO Numeric

800

Formatting Example

USh1,234,567

Usage in Code

// JavaScript Intl.NumberFormat
new Intl.NumberFormat('en', {
  style: 'currency',
  currency: 'UGX'
}).format(1234.56)
// → "USh1,234,567"

// ISO 4217 code: UGX
// Numeric code: 800
// Minor unit: 0 decimal places

About Ugandan Shilling

The Ugandan Shilling (UGX) is the official currency of Uganda, identified by the ISO 4217 code "UGX" and numeric code 800. Its symbol is USh, and amounts are typically formatted with 0 decimal places (e.g., USh1,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 UGX 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 (0) to correctly convert between major and minor units. APIs like exchangeratesapi.io and Open Exchange Rates provide real-time conversion rates for UGX.

Related Currencies