Hellenistic–Renaissance eras In the
Middle Ages, before printing, a
bar ( ¯ ) over the
units digit was used to separate the integral part of a number from its
fractional part, as in 995 (meaning 99.95 in
decimal point format). A similar notation remains in common use as an underbar to superscript digits, especially for monetary values without a decimal separator, as in 99. Later, a "separatrix" (i.e., a short, roughly vertical ink stroke) between the units and tenths position became the norm among
Arab mathematicians (e.g. 99
ˌ95), while an L-shaped or
vertical bar () served as the separatrix in England. When this character was
typeset, it was convenient to use the existing
comma (99
,95) or
full stop (99
.95) instead. Positional
decimal fractions appear for the first time in a book by the Arab mathematician
Abu'l-Hasan al-Uqlidisi written in the 10th century. The practice is ultimately derived from the decimal
Hindu–Arabic numeral system used in
Indian mathematics, and popularized by the
Persian mathematician
Al-Khwarizmi, when
Latin translation of
his work on the
Indian numerals introduced the decimal
positional number system to the Western world. His
Compendious Book on Calculation by Completion and Balancing presented the first systematic solution of
linear and
quadratic equations in Arabic.
Gerbert of Aurillac marked triples of columns with an arc (called a "Pythagorean arc"), when using his Hindu–Arabic numeral-based abacus in the 10th century.
Fibonacci followed this convention when writing numbers, such as in his influential work in the 13th century. The earliest known record of using the decimal point is in the astronomical tables compiled by the Italian merchant and mathematician
Giovanni Bianchini in the 1440s. Tables of
logarithms prepared by
John Napier in 1614 and 1619 used the period (full stop) as the decimal separator, which was then adopted by
Henry Briggs in his influential 17th century work. In
France, the full stop was already in use in printing to make
Roman numerals more readable, so the comma was chosen. Many other countries, such as Italy, also chose to use the comma to mark the decimal units position. However, English-speaking countries took the comma to separate sequences of three digits. In some countries, a raised dot or dash ('''') may be used for grouping or decimal separator; this is particularly common in handwriting.
English-speaking countries In the
United States, the full stop or period (.) is used as the standard decimal separator. (·) used as a decimal separator in a British print from 1839 In the nations of the
British Empire (and, later, the
Commonwealth of Nations), the full stop could be used in typewritten material and its use was not banned, although the
interpunct (a.k.a. decimal point, point or mid dot) was preferred as a decimal separator, in printing technologies that could accommodate it, e.g. However, as the mid dot was already in common use in the mathematics world to indicate multiplication, the
SI rejected its use as the decimal separator. During the beginning of British
metrication in the late 1960s and with impending currency
decimalisation, there was some debate in the United Kingdom as to whether the decimal comma or decimal point should be preferred: the
British Standards Institution and some sectors of industry advocated the comma and the
Decimal Currency Board advocated for the point. In the event, the point was chosen by the
Ministry of Technology in 1968. When South Africa
adopted the metric system, it adopted the comma as its decimal separator, although a number of house styles, including some English-language newspapers such as
The Sunday Times, continue to use the full stop. Previously, signs along
California roads expressed distances in decimal numbers with the decimal part in superscript, as in 37, meaning 3.7. Though California has since transitioned to
mixed numbers with
common fractions, the older style remains on
postmile markers and bridge inventory markers.
Constructed languages The three most spoken
international auxiliary languages,
Ido,
Esperanto, and
Interlingua, all use the comma as the decimal separator. Interlingua has used the comma as its decimal separator since the publication of the
Interlingua Grammar in 1951. Esperanto also uses the comma as its official decimal separator, whilst thousands are usually separated by
non-breaking spaces (e.g. ). It is possible to separate thousands by a
full stop (e.g. ), though this is not as common. Ido's
Kompleta Gramatiko Detaloza di la Linguo Internaciona Ido (Complete Detailed Grammar of the International Language Ido) officially states that commas are used for the decimal separator whilst full stops are used to separate thousands, millions, etc. So the number 12,345,678.90123 (in American notation), for instance, would be written
12.345.678,90123 in Ido. The 1931 grammar of
Volapük uses the comma as its decimal separator but, somewhat unusually, the middle dot as its thousands separator (12·345·678,90123). In 1958, disputes between European and American delegates over the correct representation of the decimal separator nearly stalled the development of the
ALGOL computer programming language. ALGOL ended up allowing different decimal separators, but most computer languages and standard data formats (e.g.,
C,
Java,
Fortran,
Cascading Style Sheets (CSS)) specify a dot.
C++ and a few others permit a quote (') as a thousands separator, while others like Python and Julia only allow '_' as such a separator (this separator is ignored by the computer, so it can be used flexibly. For example, a programmer could write 1_00_00_000 to match the Indian numbering system's format for ten million, 1,00,00,000.)
Radix point In mathematics and
computing, a
radix point, or
radix character, is a symbol used in the display of numbers to separate the
integer part of the value from its
fractional part. In English and many other languages (including many that are written right-to-left), the integer part is at the left of the radix point, and the fraction part at the right of it. A radix point is most often used in
decimal (base 10) notation, when it is more commonly called the
decimal point (with
deci- indicating
base 10). In
English-speaking countries, the decimal point is usually a small dot (.) placed either on the baseline, or halfway between the baseline and the top of the
digits (
·) In many other countries, the radix point is a comma (,) placed on the baseline. These conventions are generally used both in machine displays (
printing,
computer monitors) and in
handwriting. It is important to know which notation is being used when working in different software programs. The respective
ISO 31-0 standard defines both the comma and the small dot as decimal markers, but does not explicitly define universal radix marks for bases other than 10. Fractional numbers are rarely displayed in other
number bases, but, when they are, a radix character may be used for the same purpose. When used with the
binary (base 2) representation, it may be called "binary point". ==Current international standards==