🇨🇳

China Number Format

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万

China formatting implementation notes

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

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

CNY is shown with ¥ immediately before the amount; the same reference value renders as ¥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-CN 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-CN
  • Decimal and grouping: 1,234,567.89
  • Currency: CNY → ¥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 (¥, CNY) differs.
  • Uses the same number pattern (decimal mark, grouping, symbol and percent placement) as Japan, Hong Kong, Taiwan, 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: CNY has ISO minor unit 2. The symbol ¥ is also used by JPY in this directory.
  • Postal address order: name → building → street number + street → district → county → postcode + city → country. See address formats.

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万.