🇨🇭

Switzerland

CLDR Locale:
ISO: CH / CHERegion: EuropeDigits: western

Try It — Live Preview

Number
1’234’567.89
Currency (CHF)
CHF 1’234’567.89
Percentage
1’234’568%
Compact
1.2 Mio.

Format Rules

Decimal Separator
.period
Thousands Separator
apostrophe
Grouping Pattern
3
Negative Format
-1’234’567.89
Currency Symbol
Fr. (CHF)
Currency Position
Before number with space Fr. 1’234’567.89
Percent Position
After number 13%
Zero
0.00
Compact
1.2 Mio.

Code Examples

// Basic number
new Intl.NumberFormat('de-CH').format(1234567.89)
// → "1’234’567.89"

// Currency
new Intl.NumberFormat('de-CH', {
  style: 'currency',
  currency: 'CHF'
}).format(1234567.89)
// → "Fr. 1’234’567.89"

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

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

Negative Number Formats

Standard-1’234’567.89
new Intl.NumberFormat('de-CH').format(-1234567.89)
Accounting styleCHF-1’234’567.89
new Intl.NumberFormat('de-CH', { style: 'currency', currency: 'CHF', currencySign: 'accounting' }).format(-1234567.89)

Edge Cases & Notes

Unique apostrophe (U+2019) as thousands separator. Decimal uses period — opposite of neighboring Germany. fr-CH uses narrow space for thousands.