πΉπΌ
Taiwan
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θ¬
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)