🇿🇦

South Africa

CLDR Locale:
ISO: ZA / ZAFRegion: AfricaDigits: western

Try It — Live Preview

Number
1 234 567,89
Currency (ZAR)
R 1 234 567,89
Percentage
1 234 568%
Compact
1,2M

Format Rules

Decimal Separator
,comma
Thousands Separator
·narrow no-break space
Grouping Pattern
3
Negative Format
-1 234 567,89
Currency Symbol
R (ZAR)
Currency Position
Before number R 1 234 567,89
Percent Position
After number 13%
Zero
0,00
Compact
1,2M

Code Examples

// Basic number
new Intl.NumberFormat('en-ZA').format(1234567.89)
// → "1 234 567,89"

// Currency
new Intl.NumberFormat('en-ZA', {
  style: 'currency',
  currency: 'ZAR'
}).format(1234567.89)
// → "R 1 234 567,89"

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

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

Negative Number Formats

Standard-1 234 567,89
new Intl.NumberFormat('en-ZA').format(-1234567.89)
Accounting style(R 1 234 567,89)
new Intl.NumberFormat('en-ZA', { style: 'currency', currency: 'ZAR', currencySign: 'accounting' }).format(-1234567.89)

Edge Cases & Notes

en-ZA uses comma as decimal — same as European format despite English language.