Hindu–Arabic numeral system system is based upon ten (originally nine) different glyphs. The symbols (glyphs) used to represent the system are in principle independent of the system itself. The glyphs in actual use are descended from Brahmi numerals and have split into various typographical variants since the Middle Ages. These symbol sets can be divided into three main families: Western Arabic numerals used in the Greater Maghreb and in Europe, Eastern Arabic numerals (also called "Indic numerals") used in the Middle East, and the Indian numerals used in South Asia. The Hindu-Arabic numerals were invented by mathematicians in India. Perso-Arabic mathematicians called them
Arabic counterparts of certain consonants. For instance, using capitalization, the letter , may be represented by d. Its emphatic counterpart, , may be written as D. In most of present-day North Africa, the Western Arabic numerals (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) are used. However, in Egypt and Arabic-speaking countries to the east of it, the Eastern Arabic numerals ( – – – – – – – – – ) are in use. When representing a number in Arabic, the lowest-valued position is placed on the right, so the order of positions is the same as in