🇨🇳
China
CLDR Locale:
ISO: CN / CHNRegion: AsiaDigits: western
Try It — Live Preview
Number
1,234,567.89
Currency (CNY)
¥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
¥ (CNY)
Currency Position
Before number → ¥1,234,567.89
Percent Position
After number → 13%
Zero
0.00
Compact
123万
Code Examples
// Basic number
new Intl.NumberFormat('zh-CN').format(1234567.89)
// → "1,234,567.89"
// Currency
new Intl.NumberFormat('zh-CN', {
style: 'currency',
currency: 'CNY'
}).format(1234567.89)
// → "¥1,234,567.89"
// Percentage
new Intl.NumberFormat('zh-CN', {
style: 'percent',
minimumFractionDigits: 1
}).format(0.125)
// Compact notation
new Intl.NumberFormat('zh-CN', {
notation: 'compact'
}).format(1234567)Negative Number Formats
Standard-1,234,567.89
new Intl.NumberFormat('zh-CN').format(-1234567.89)Accounting style(¥1,234,567.89)
new Intl.NumberFormat('zh-CN', { style: 'currency', currency: 'CNY', currencySign: 'accounting' }).format(-1234567.89)Edge Cases & Notes
Compact uses 万 (wàn=10,000) and 亿 (yì=100M). 1M = 100万.