New Taiwan Dollar
TWDPrimary country: Taiwan
Symbol
NT$
Decimal Places
2
ISO Numeric
901
Formatting Example
NT$1,234
Usage in Code
// JavaScript Intl.NumberFormat
new Intl.NumberFormat('en', {
style: 'currency',
currency: 'TWD'
}).format(1234.56)
// → "NT$1,234"
// ISO 4217 code: TWD
// Numeric code: 901
// Minor unit: 2 decimal placesAbout New Taiwan Dollar
The New Taiwan Dollar (TWD) is the official currency of Taiwan, identified by the ISO 4217 code "TWD" and numeric code 901. Its symbol is NT$, and amounts are typically formatted with 2 decimal places (e.g., NT$1,234).
In software development, currency codes are essential for e-commerce, financial applications, and internationalization. The JavaScript Intl.NumberFormat API supports formatting amounts in TWD 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 TWD) 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 TWD.