🇹🇳

Tunisia Number Format

CLDR Locale:
ISO: TN / TUNRegion: AfricaDigits: western

Try It — Live Preview

Number
1.234.567,89
Currency (TND)
‏1.234.567,890 د.ت.‏
Percentage
1.234.568‎%‎
Compact
1,2 مليون

Format Rules

Decimal Separator
,comma
Thousands Separator
.period
Grouping Pattern
3
Negative Format
‎-1.234.567,89
Currency Symbol
DT (TND)
Currency Position
After number with space → 1.234.567,890 DT
Percent Position
Before number → 13‎%‎
Zero
0,00
Compact
1,2 مليون

Tunisia formatting implementation notes

For Tunisia, format numbers with the explicit locale ar-TN; the reference value 1234567.89 renders as 1.234.567,890.

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

TND is shown with DT after the amount with a separating space; the same reference value renders as 1.234.567,890 DT. The percent sign appears immediately before 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. This country is multilingual in software contexts: also test fr-TN, because language selection can change spacing, punctuation, and currency display without changing the region. Validate output with formatToParts() when spacing, signs, or bidirectional literals affect the interface.

  • Locale: ar-TN
  • Decimal and grouping: 1.234.567,890
  • Currency: TND → 1.234.567,890 DT
  • Digits: Western 0–9 digits

Reviewed 19 July 2026. Sources: Unicode locale number formats · Intl.NumberFormat reference

What's different here

  • Decimal mark is a comma (,) (en-US uses a period (.)).
  • Thousands are grouped with a period (.) (en-US uses a comma (,)).
  • The currency symbol goes after the amount with a space (en-US: immediately before the amount).
  • The percent sign goes immediately before the number (en-US: immediately after the number).
  • Uses the same number pattern (decimal mark, grouping, symbol and percent placement) as Algeria.
  • Nearby differences: Morocco (ar-MA) places the percent sign after the number with a space.
  • Currency: TND has ISO minor unit 3, so amounts normally show three decimals. This directory shows the disambiguated symbol DT; the native symbol is د.ت.
  • Postal address order: name → building → street number + street → postcode + city → country. See address formats.

Reference value 1234567.89 in each locale

LocaleOutput
ar-TN1.234.567,89
fr-TN1 234 567,89

Rendered with the platform's CLDR data at build time.

Code Examples

// Basic number
new Intl.NumberFormat('ar-TN').format(1234567.89)
// → "1.234.567,890"

// Currency
new Intl.NumberFormat('ar-TN', {
  style: 'currency',
  currency: 'TND'
}).format(1234567.89)
// → "1.234.567,890 DT"

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

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

Negative Number Formats

Standard‎-1.234.567,89
new Intl.NumberFormat('ar-TN').format(-1234567.89)
Accounting style(؜1.234.567,890 د.ت.‏)
new Intl.NumberFormat('ar-TN', { style: 'currency', currency: 'TND', currencySign: 'accounting' }).format(-1234567.89)

Edge Cases & Notes

TND has 3 minor units (millimes).