๐Ÿ‡น๐Ÿ‡ณ

Tunisia

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ย ู…ู„ูŠูˆู†

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