Arabic numerals are the ten numerical digit: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. The term often implies a decimal number written using these digits (in particular when contrasted with Roman numerals). However, the term can also refer to the digits themselves, such as in the statement "octal numbers are written using Arabic numerals."
The numerals were developed in the Maghreb in North Africa. It was in the Algeria city of Bejaia that the Italian people scholar Fibonacci first encountered the numerals; his work was crucial in making them known throughout Europe. European trade, books, and colonialism helped popularize the adoption of Arabic numerals around the world. The numerals have found worldwide use significantly beyond the contemporary spread of the Latin alphabet, intruding into the writing systems in regions where other numerals had been in use, such as Chinese numerals and Japanese writing.
They are also called Western Arabic numerals, Ghubār numerals, or digits. Official Unicode Consortium code chart The Oxford English Dictionary uses lowercase Arabic numerals for them, and capitalized Arabic Numerals to refer to the Eastern digits."Arabic", Oxford English Dictionary, 2nd edition
Al-Nasawi wrote in the early eleventh century that mathematicians had not agreed on the form of the numerals, but most of them had agreed to train themselves with the forms now known as Eastern Arabic numerals.: "Les personnes qui se sont occupées de la science du calcul n'ont pas été d'accord sur une partie des formes de ces neuf signes; mais la plupart d'entre elles sont convenues de les former comme il suit." The oldest specimens of the written numerals available are from Egypt and date to 873–874 CE. They show three forms of the numeral "2" and two forms of the numeral "3", and these variations indicate the divergence between what later became known as the Eastern Arabic numerals and the Western Arabic numerals. The Western Arabic numerals came to be used in the Maghreb and Al-Andalus from the tenth century onward.: "While specimens of Western Arabic numerals from the early period—the tenth to thirteenth centuries—are still not available, we know at least that Hindu reckoning (called ḥisāb al-ghubār) was known in the West from the tenth century onward..."
Calculations were originally performed using a dust board ( takht, Latin: tabula), which involved writing symbols with a stylus and erasing them. The use of the dust board appears to have introduced a divergence in terminology as well: whereas the Hindu reckoning was called ḥisāb al-hindī in the east, it was called ḥisāb al-ghubār in the west (literally, "calculation with dust"). The numerals themselves were referred to in the west as ashkāl al‐ghubār ("dust figures") or qalam al-ghubår ("dust letters"). Al-Uqlidisi later invented a system of calculations with ink and paper "without board and erasing" ( bi-ghayr takht wa-lā maḥw bal bi-dawāt wa-qirṭās).
A popular myth claims that the symbols were designed to indicate their numeric value through the number of angles they contained, but no evidence exists of this, and the myth is difficult to reconcile with any digits past 4.
From the 980s, Gerbert of Aurillac (later, Pope Sylvester II) used his position to spread knowledge of the numerals in Europe. Gerbert studied in Barcelona in his youth. He was known to have requested mathematical treatises concerning the astrolabe from Lupitus of Barcelona after he had returned to France.
Leonardo Fibonacci (also known as Leonardo of Pisa), a mathematician born in the Republic of Pisa who had studied in Béjaïa (Bougie), Algeria, promoted the Indian numeral system in Europe with his 1202 book Liber Abaci:
When my father, who had been appointed by his country as public notary in the customs at Bugia acting for the merchants going there, was in charge, he summoned me to him while I was still a child, and having an eye to usefulness and future convenience, desired me to stay there and receive instruction in the school of accounting. There, when I had been introduced to the art of the Indians' nine symbols through remarkable teaching, knowledge of the art very soon pleased me above all else and I came to understand it.
The European acceptance of the numerals was accelerated by the invention of the printing press, and they became widely known during the 15th century. Early evidence of their use in Britain includes: an equal hour horary quadrant from 1396, in England, a 1445 inscription on the tower of Heathfield Church, Sussex; a 1448 inscription on a wooden lych-gate of Bray Church, Berkshire; and a 1487 inscription on the belfry door at Piddletrenthide church, Dorset; and in Scotland a 1470 inscription on the tomb of the first Earl of Huntly in Elgin Cathedral. (See G.F. Hill, The Development of Arabic Numerals in Europe for more examples.) In central Europe, the King of Hungary Ladislaus the Posthumous, started the use of Arabic numerals, which appear for the first time in a royal document of 1456.Erdélyi: Magyar művelődéstörténet 1-2. kötet. Kolozsvár, 1913, 1918 By the mid-16th century, they were in common use in most of Europe. Mathforum.org Roman numerals remained in use mostly for the notation of anno Domini years, and for numbers on clockfaces.
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:
They 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. EBCDIC used different values, but also had the lower 4 bits equal to the digit value.
|0011 0000||060||48||30||U+0030 DIGIT ZERO||F0|
|0011 0001||061||49||31||U+0031 DIGIT ONE||F1|
|0011 0010||062||50||32||U+0032 DIGIT TWO||F2|
|0011 0011||063||51||33||U+0033 DIGIT THREE||F3|
|0011 0100||064||52||34||U+0034 DIGIT FOUR||F4|
|0011 0101||065||53||35||U+0035 DIGIT FIVE||F5|
|0011 0110||066||54||36||U+0036 DIGIT SIX||F6|
|0011 0111||067||55||37||U+0037 DIGIT SEVEN||F7|
|0011 1000||070||56||38||U+0038 DIGIT EIGHT||F8|
|0011 1001||071||57||39||U+0039 DIGIT NINE||F9|