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 numerals variants since the Middle Ages: The evolution of the numerals in early Europe is shown here in a table created by the French scholar Jean-Étienne Montucla in his "Histoire de la Mathematique", which was published in 1757: The Arabic numerals 0–9 are encoded in ASCII at positions 0x30 to 0x39. Masking to the lower 4 binary bits (or taking the last hexadecimal digit) gives the value of the digit, a great help in converting text to numbers on early computers. These positions were inherited in Unicode and in virtually all other encodings based in any way on ASCII. EBCDIC used