The Moroccan Dirham carries ISO 4217 code MAD and numeric code 504. It is divided into a minor unit of 2 decimal places, and the standard lists it as legal tender in 2 countries and territories.
Three-letter currency codes appear on price tags, invoices, bank transfers and FX quotes; the numeric code serves systems that avoid Latin letters.