πŸ‡ΉπŸ‡Ό

Taiwan Number Format

CLDR Locale:
ISO: TW / TWNRegion: AsiaDigits: western

Try It β€” Live Preview

Number
1,234,567.89
Currency (TWD)
$1,234,567.89
Percentage
1,234,568%
Compact
123萬

Format Rules

Decimal Separator
.period
Thousands Separator
,comma
Grouping Pattern
3
Negative Format
-1,234,567.89
Currency Symbol
NT$ (TWD)
Currency Position
Before number β†’ NT$1,234,567.89
Percent Position
After number β†’ 13%
Zero
0.00
Compact
123萬

Taiwan formatting implementation notes

For Taiwan, format numbers with the explicit locale zh-TW; the reference value 1234567.89 renders as 1,234,567.89.

Taiwan's reference format uses "." as the decimal mark and comma (",") for grouping. The integer uses repeating groups of three digits. Pass "zh-TW" directly to Intl.NumberFormat instead of replacing punctuation in a preformatted string.

TWD is shown with NT$ immediately before the amount; the same reference value renders as NT$1,234,567.89. The percent sign appears immediately after the amount. Use the ISO currency code for storage and interchange because a visible symbol can be shared by unrelated currencies.

Western 0–9 digits are the page's reference digit system, and the negative pattern is -n. Treat zh-TW as the reference locale for this page, but still respect the user's explicitly selected language and numbering-system preferences. Validate output with formatToParts() when spacing, signs, or bidirectional literals affect the interface.

  • Locale: zh-TW
  • Decimal and grouping: 1,234,567.89
  • Currency: TWD β†’ NT$1,234,567.89
  • Digits: Western 0–9 digits

Reviewed 19 July 2026. Sources: Unicode locale number formats Β· Intl.NumberFormat reference

What's different here

  • Number punctuation matches en-US. Only the currency (NT$, TWD) differs.
  • Uses the same number pattern (decimal mark, grouping, symbol and percent placement) as Japan, China, Hong Kong, Singapore, South Korea and Malaysia in Asia, plus 24 pages in other regions.
  • Nearby differences: India (en-IN) uses Indian 3-then-2 grouping instead of repeating groups of three; Pakistan (ur-PK) uses Indian 3-then-2 grouping instead of repeating groups of three; Bangladesh (bn-BD) uses Indian 3-then-2 grouping instead of repeating groups of three.
  • Currency: TWD has ISO minor unit 2. This directory shows the disambiguated symbol NT$; the native symbol is $.

Code Examples

// Basic number
new Intl.NumberFormat('zh-TW').format(1234567.89)
// β†’ "1,234,567.89"

// Currency
new Intl.NumberFormat('zh-TW', {
  style: 'currency',
  currency: 'TWD'
}).format(1234567.89)
// β†’ "NT$1,234,567.89"

// Percentage
new Intl.NumberFormat('zh-TW', {
  style: 'percent',
  minimumFractionDigits: 1
}).format(0.125)

// Compact notation
new Intl.NumberFormat('zh-TW', {
  notation: 'compact'
}).format(1234567)

Negative Number Formats

Standard-1,234,567.89
new Intl.NumberFormat('zh-TW').format(-1234567.89)
Accounting style($1,234,567.89)
new Intl.NumberFormat('zh-TW', { style: 'currency', currency: 'TWD', currencySign: 'accounting' }).format(-1234567.89)