๐น๐ณ
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).