๐ฒ๐ฆ
Morocco
CLDR Locale:
ISO: MA / MARRegion: AfricaDigits: western
Try It โ Live Preview
Number
1.234.567,89
Currency (MAD)
โ1.234.567,89ย ุฏ.ู
.โ
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
MAD (MAD)
Currency Position
After number with space โ 1.234.567,89ย MAD
Percent Position
After number with space โ 13โ%โ
Zero
0,00
Compact
1,2ย ู
ูููู
Code Examples
// Basic number
new Intl.NumberFormat('ar-MA').format(1234567.89)
// โ "1.234.567,89"
// Currency
new Intl.NumberFormat('ar-MA', {
style: 'currency',
currency: 'MAD'
}).format(1234567.89)
// โ "1.234.567,89ย MAD"
// Percentage
new Intl.NumberFormat('ar-MA', {
style: 'percent',
minimumFractionDigits: 1
}).format(0.125)
// Compact notation
new Intl.NumberFormat('ar-MA', {
notation: 'compact'
}).format(1234567)Negative Number Formats
Standardโ-1.234.567,89
new Intl.NumberFormat('ar-MA').format(-1234567.89)Accounting style(ุ1.234.567,89ย ุฏ.ู
.โ)
new Intl.NumberFormat('ar-MA', { style: 'currency', currency: 'MAD', currencySign: 'accounting' }).format(-1234567.89)Edge Cases & Notes
ar-MA uses Western digits (unlike ar-SA). French (fr-MA) also widely used.