Decimal mark

A decimal mark is a symbol used to separate the integer part from the fractional part of a number written in decimal form.

Different countries officially designate different symbols for the decimal mark. The choice of symbol for the decimal mark also affects the choice of symbol for the thousands separator used in digit grouping, so the latter is also treated in this article.

In mathematics the decimal mark is a type of radix point, a term that also applies to number systems with bases other than ten.

History

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, e.g. 9995 (meaning, 99.95 in decimal point format). This practice derived from the decimal system used in Indian mathematics[1] and was popularized by the Persian mathematician Al-Khwarizmi,[2] 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. A similar notation remains in common use as an underbar to superscript digits, especially for monetary values without a decimal mark, e.g. 9995. Later, a "separatrix" (a short, roughly vertical ink stroke) between the units and tenths position became the norm among Arab mathematicians, e.g. 99ˌ95. When this character was typeset, it was convenient to use the existing comma (99,95) or full stop (99.95) instead. The separatrix was also used in England as an L-shaped or vertical bar (|) before the popularization of the period and mid dot decimal points.[3]

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 Liber Abaci in the 13th century.[4]

In France, the full stop was already in use in printing to make Roman numerals more readable, so the comma was chosen.[5] Many other countries, such as Italy, also chose to use the comma to mark the decimal units position.[5] It has been made standard by the ISO for international blueprints.[6] However, English-speaking countries took the comma to separate sequences of three digits. In some countries, a raised dot or dash (upper comma) may be used for grouping or decimal mark; this is particularly common in handwriting.

In the United States, the full stop or period (.) was used as the standard decimal mark.

Decimal separator in a British print from 1839[7]

In the nations of the British Empire, although the full stop could be used in typewritten material and its use was not banned, the interpunct (also known as the decimal point, point, or mid dot) was preferred for the decimal mark in printing technologies that could accommodate it, e.g. 99·95.[8] 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 mark. During the beginning of British metrication in the late 1960s and with impending currency decimalisation, there was widespread 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 decided on by the Ministry of Technology in 1968.[9]

When South Africa adopted the metric system, it adopted the comma as its decimal mark,[10] although a number of house styles, including some English-language newspapers such as The Sunday Times, continue to use the full stop.

The three most spoken international auxiliary languages, Ido, Esperanto, and Interlingua, all use the comma as the decimal mark. Interlingua has used the comma as its decimal mark since the publication of the Interlingua Grammar in 1951.[11] Esperanto also uses the comma as its official decimal mark, while thousands are separated by non-breaking spaces: 12 345 678,9. 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 mark while 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 by Arie de Jong uses the comma as its decimal mark, and (somewhat unusually) uses the middle dot as the thousands separator (12·345·678,90123).[12]

In 1958, disputes between European and American delegates over the correct representation of the decimal mark nearly stalled the development of the ALGOL computer programming language.[13] ALGOL ended up allowing different decimal marks, but most computer languages and standard data formats (e.g. C, Java, Fortran, Cascading Style Sheets (CSS)) specify a dot.

Current standards

The 22nd General Conference on Weights and Measures declared in 2003 that "the symbol for the decimal marker shall be either the point on the line or the comma on the line". It further reaffirmed that "numbers may be divided in groups of three in order to facilitate reading; neither dots nor commas are ever inserted in the spaces between groups"[14] (e.g. 1000000000). This usage has therefore been recommended by technical organizations, such as the United States' National Institute of Standards and Technology.

Digit grouping

For ease of reading, numbers with many digits may be divided into groups using a delimiter.[15] In some countries, these "digit group separators" are only employed to the left of the decimal mark; in others, they are also used to separate numbers with a long fractional part. An important reason for grouping is that it allows rapid judgement of the number of digits, via subitizing (telling at a glance) rather than counting – contrast 1000000000 with 1000000000 for a short billion.

Since 2003,[16] the use of spaces as separators (for example: 20000 and 1000000 for "twenty thousand" and "one million") has been officially endorsed by SI/ISO 31-0 standard,[17] as well as by the International Bureau of Weights and Measures and the International Union of Pure and Applied Chemistry,[18][19] the American Medical Association's widely followed AMA Manual of Style, and the Metrication Board, among others.

The groups created by the delimiters tend to follow the use of the local language, which varies. In European languages, large numbers are read in groups of thousands and the delimiter (which occurs every three digits when it is used) may be called a "thousands separator". In East Asian cultures, particularly China, Japan, and Korea, large numbers are read in groups of myriads (10,000s) but the delimiter commonly separates every three digits. The Indian numbering system is somewhat more complex: it groups the rightmost three digits in a similar manner to European languages but then groups every two digits thereafter: 1.5 million would accordingly be written 15,00,000 and read as "15 lakh".

The convention for digit group separators historically varied among countries, but usually seeking to distinguish the delimiter from the decimal mark. Traditionally, English-speaking countries employed commas as the delimiter 10,000 and other European countries employed periods or spaces: 10.000 or 10000. Because of the confusion that could result in international documents, in recent years the use of spaces as separators has been advocated by the superseded SI/ISO 31-0 standard,[17] as well as by the International Bureau of Weights and Measures and the International Union of Pure and Applied Chemistry, which have also begun advocating the use of a "thin space" in "groups of three".[18][19] Within the United States, the American Medical Association's widely followed AMA Manual of Style also calls for a thin space.[15] In some online encoding environments (for example, ASCII-only) a thin space is not practical or available, in which case a regular word space or no delimiter are the alternatives. In 2014, the Metrication Board also proposed the system of using a space for separation in the United Kingdom and, while it is not universally adopted, it is standard within the country's construction industry.

Data versus mask

Digit group separators can occur either as part of the data or as a mask through which the data is displayed. This is an example of the separation of presentation and content. In many computing contexts, it is preferred to omit digit group separators from the data and instead overlay them as a mask (an input mask or an output mask). Common examples include spreadsheets and databases in which currency values are entered without such marks but are displayed with them inserted. Similarly, phone numbers can have hyphens or spaces as a mask rather than as data.

In some programming languages, it is possible to group the digits in the program's source code to make it easier to read; see Integer literal: Digit separators. Ada, D, Swift, Java, Perl, Python (from version 3.6) and Ruby use the underscore (_) character for this purpose. All these languages allow seven hundred million to be entered as 700_000_000. Fixed-form Fortran ignores whitespace (in all contexts), so 700 000 000 is permissible. C++14 allows the use of an apostrophe for digit grouping, so 700'000'000 is permissible.

Exceptions to digit grouping

The International Bureau of Weights and Measures states that "when there are only four digits before or after the decimal marker, it is customary not to use a space to isolate a single digit".[18] Likewise, some manuals of style state that thousands separators should not be used in normal text for numbers from 1000 to 9999 inclusive where no decimal fractional part is shown (in other words, for four-digit whole numbers), whereas others use thousands separators, and others use both. For example, APA style stipulates a thousands separator for "most figures of 1,000 or more" except for page numbers, binary digits, temperatures, etc.

There are always common-sense exceptions to digit grouping, such as years, postal codes and ID numbers of predefined nongrouped format, which style guides usually point out.

In non-base-10 numbering systems

In binary (base-2), a full space can be used between groups of four digits, corresponding to a nibble, or equivalently to a hexadecimal digit. For integer numbers, dots are used as well to separate groups of four bits.[20] Alternatively, binary digits may be grouped by threes, corresponding to an octal digit. Similarly, in hexadecimal (base-16), full spaces are usually used to group digits into twos, making each group correspond to a byte.[21] Additionally, groups of eight bytes are often separated by a hyphen.[21]

Influence of calculators and computers

In countries with a decimal comma, the decimal point is also common as the "international" notation because of the influence of devices, such as electronic calculators, which use the decimal point. Most computer operating systems allow selection of the decimal mark and programs that have been carefully internationalized will follow this, but some programs ignore it and a few may even fail to operate if the setting has been changed.

Hindu–Arabic numeral system

Decimal marks:
  Point "."
  Comma ","
  "٫" see section #Other numeral systems
  Data unavailable

Countries using Arabic numerals with decimal point

Countries where a dot "." is used as decimal mark include

  • Australia
  • Bangladesh
  • Botswana
  • British West Indies
  • Brunei
  • Cambodia
  • Canada (when using English)
  • China, People's Republic of
    • Hong Kong
    • Macau (in Chinese and English text)
  • Dominican Republic
  • Egypt
  • El Salvador
  • Ghana
  • Guatemala
  • Honduras
  • India
  • Ireland
  • Israel
  • Japan
  • Jordan
  • Kenya
  • Korea, North
  • Korea, South
  • Lebanon
  • Luxembourg (uses both marks officially)
  • Malaysia
  • Maldives
  • Malta
  • Mexico
  • Myanmar
  • Nepal
  • New Zealand
  • Nicaragua
  • Nigeria
  • Pakistan
  • Palestine
  • Panama
  • Philippines
  • Puerto Rico
  • Singapore
  • Sri Lanka
  • Switzerland (some cantons,[22] IT, always for currency)
  • Taiwan
  • Tanzania
  • Thailand
  • Uganda
  • United Kingdom
  • United States (including insular areas)
  • Zimbabwe

Countries using Arabic numerals with decimal comma

Countries where a comma "," is used as decimal mark include

  • Albania
  • Algeria
  • Andorra
  • Angola
  • Argentina
  • Armenia
  • Austria
  • Azerbaijan
  • Belarus
  • Belgium
  • Bolivia
  • Bosnia and Herzegovina
  • Brazil
  • Bulgaria
  • Cameroon
  • Canada (when using French)
  • Chile
  • Colombia
  • Costa Rica
  • Croatia (comma used officially and unofficially, point is orthographically wrong)[23][24][25][26][27][28][29]
  • Cuba
  • Cyprus
  • Czech Republic
  • Denmark
  • East Timor
  • Ecuador
  • Estonia
  • Faroes
  • Finland
  • France
  • Germany
  • Georgia
  • Greece
  • Greenland
  • Hungary
  • Iceland
  • Indonesia
  • Italy
  • Kazakhstan
  • Kosovo
  • Kyrgyzstan
  • Latvia
  • Lebanon
  • Lithuania
  • Luxembourg (uses both marks officially)
  • Macau (in Portuguese text)
  • Macedonia
  • Moldova
  • Mongolia
  • Morocco
  • Mozambique
  • Namibia
  • The Netherlands
  • Norway
  • Paraguay
  • Peru
  • Poland
  • Portugal
  • Romania
  • Russia
  • Serbia
  • Slovakia
  • Slovenia
  • South Africa
  • Spain
  • Sweden
  • Switzerland (for federal publications[30] and some cantons)
  • Tunisia
  • Turkey
  • Ukraine
  • Uruguay
  • Uzbekistan
  • Venezuela
  • Vietnam

Other numeral systems

Unicode defines a decimal separator key symbol (⎖ in hex U+2396, decimal 9110) which looks similar to the apostrophe. This symbol is from ISO/IEC 9995 and is intended for use on a keyboard to indicate a key that performs decimal separation.

In the Arab world, where Eastern Arabic numerals are used for writing numbers, a different character is used to separate the integer and fractional parts of numbers. It is referred to as an Arabic decimal separator (٫) (in hex U+066B) in Unicode. An Arabic thousands separator (٬) also exists.

In Persian, the decimal mark is called momayyez, which is written like a forward slash—there is a small difference between the upside-down (Persian) comma character used in sentences and the Latin comma (٫) (in hex U+066B) used to separate sequences of three digits. To separate sequences of three digits, a Latin comma or blank space may be used; however this is not a standard.[31][32][33]

In English Braille, the decimal point, , is distinct from both the comma, , and the full stop, .

Examples of use

The following examples show the decimal mark and the thousands separator in various countries that use the Arabic numeral system.

Style Countries
1,234,567.89 Australia, Canada (English-speaking, unofficial), China, Hong Kong, Ireland, Israel, Japan, Korea, Malaysia, Mexico, New Zealand, Pakistan, Philippines, Singapore, Taiwan, Thailand, United Kingdom, United States
1234567.89 SI style (English version), Canada (English-speaking), China, Sri Lanka, Switzerland (officially encouraged for currency numbers)
1234567,89 SI style (French version), Albania, Austria, Belgium, Brazil, Bulgaria, Canada (French-speaking), Croatia, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Italy, Kosovo, Latin Europe, Netherlands (non-currency numbers, see below), Norway, Peru, Poland, Portugal, Romania, Russia, Serbia, Slovakia, Slovenia, South Africa, Spain, Sweden, Switzerland (officially encouraged for non-currency numbers), Ukraine
1,234,567·89 Ireland, Malaysia, Malta, New Zealand, Philippines, Singapore, Taiwan, Thailand, United Kingdom (older, typically hand written)[34]
1.234.567,89 Argentina, Austria, Bosnia and Herzegovina, Brazil, Chile, Croatia,[35][36] Denmark, Germany, Greece, Indonesia, Italy, Netherlands (currency), Portugal, Romania, Russia, Slovenia, Spain,[37] Sweden (not recommended), Turkey
1˙234˙567,89 Italy (handwriting)
12,34,567.89 Bangladesh, Pakistan, India (see Indian Numbering System)
1'234'567.89 Switzerland (printed, computing, currency, everyday use), Liechtenstein
1'234'567,89 Switzerland (handwriting)
1.234.56789 Spain (handwriting)
123,4567.89 China (based on powers of 10,000 see Chinese numerals)
South Asian Value Value
One 1
Ten 10
Hundred 100
Thousand 1,000
Lakh 100,000
Crore 10,000,000
Arab (not normally used) 1,000,000,000
Kharab (not normally used) 100,000,000,000

Unicode characters

Used with Western Arabic numerals (0123456789):

Used with Eastern Arabic numerals (٠١٢٣٤٥٦٧٨٩):

Used with keyboards:

See also

References

  1. Reimer, L., and Reimer, W. Mathematicians Are People, Too: Stories from the Lives of Great Mathematicians, Vol. 2. 1995. pp. 22-22. Parsippany, NJ: Pearson Education, Inc. as Dale Seymor Publications. ISBN 0-86651-823-1.
  2. Khwarizmi, Abu Jafar Muhammad ibn Musa al-, Oxford Islamic Studies Online
  3. "separatrix, n.", Oxford English Dictionary, Oxford: Oxford University Press.
  4. Devlin, Keith (2011). The Man of Numbers: Fibonacci's Arithmetic Revolution. New York: Walker & Company. pp. 44–45. ISBN 9780802779083.
  5. 1 2 Enciclopedia Universal Santillana, 1996 by SANTILLANA S.A., Barcelona, Spain. ISBN 84-294-5129-3. Comma, def.2: "coma: MAT. Signo utilizado en los números no enteros para separar la parte entera de la parte decimal o fraccionaria; p.ej., 2,123."
  6. "ISO 80000-2:2009". International Organization for Standardization. Retrieved 1 July 2010.
  7. Thomas Henderson (1839-01-03). "On the Parallax of α Centauri" (PDF). Memoirs of the Royal Astronomical Society, Vol. 11, p. 64. Retrieved 2015-03-26. – Scan published by Harvard-Smithsonian Center for Astrophysics
  8. Reimer, L., and Reimer, W. Mathematicians Are People, Too: Stories from the Lives of Great Mathematicians, Vol. 1. 1990 p. 41. Parsippany, NJ: Pearson Education, Inc. as Dale Seymor Publications. ISBN 0-86651-509-7.
  9. "Victory on Points". Nature. 218 (5137): 111. 1968. doi:10.1038/218111c0.
  10. Government Notice R. 1144, Government Gazette 4326, 5 July 1974
  11. Grammar of Interlingua: Parts of Speech – Numerals
  12. Gramat Volapüka. Cathair na Mart: Evertype. ISBN 978-1-904808-94-7
  13. Perlis, Alan, The American Side of the Development of ALGOL, ACM SIGPLAN Notices, August 1978.
  14. , Resolution 10.
  15. 1 2 Iverson, Cheryl, et al. (eds) (2007). AMA Manual of Style (10th ed.). Oxford, Oxfordshire: Oxford University Press. p. 793. ISBN 978-0-19-517633-9.
  16. http://www.bipm.org/jsp/en/ViewCGPMResolution.jsp?CGPM=22&RES=10
  17. 1 2 "Decimals Score a Point on International Standards". 2006-11-22. Retrieved 2008-11-27.
  18. 1 2 3 International Bureau of Weights and Measures. "Rules and style conventions for expressing values of quantities": "".
  19. 1 2 "Guidelines for drafting IUPAC technical reports and recommendations". 2007. Retrieved 2008-11-27.
  20. As an example, the DR-DOS DEBUG H command displays the entered number in hexadecimal, decimal, octal and binary notation:
    -h 1234
    1234 #4660 \011064 %0001.0010.0011.0100
  21. 1 2 As an example, the DR-DOS DEBUG D command dumps the memory byte-wise in hexadecimal notation with bytes separated by spaces and groups of eight bytes separated by hyphens:
    -d 0
    1234:0000  57 69 6B 69 70 65 64 69-61 20 68 65 6C 70 73 21   Wikipedia helps!
    
  22. as example the Canton of St. Gallen Lehrplan Fachbereich Mathematik, p. 14 (PDF; ≈ 257 kB) – from schule.sg.ch (german)
  23. https://vlada.gov.hr/vijesti/klinika-za-djecje-bolesti-dobila-dva-moderna-rendgenska-uredjaja/22153
  24. https://vlada.gov.hr/vijesti/potpisano-osam-ugovora-za-eu-sufinanciranje-projekata-vrijednih-tri-milijarde-kuna/22154
  25. https://vlada.gov.hr/vijesti/europska-komisija-hrvatskoj-odobrila-financiranje-jos-15-prometnih-projekata-u-vrijednosti-vecoj-od-72-milijuna-eura/21881
  26. http://hrcak.srce.hr/file/152701
  27. http://pravopis.hr/pravilo/zarez/60/
  28. http://pravopis.hr/pravilo/tocka/55/
  29. hr:Igor Čatić, hr:Hrvatski zavod za norme (HNZ), Jezik, časopis za kulturu hrvatskoga književnog jezika, Hrvatsko filološko društvo u Zagrebu, god. 57., br. 2., 41.-80., Zagreb, April 2010, pp. 68
  30. Schreibweisungen; 514: Dezimalkomma und Dezimalpunkt – Issuer: Federal Chancellery of Switzerland, 2nd issue 2013, p. 80 (german).
  31. Pournader, Roozbeh (2000-10-15). "Persian decimal separator". Unicode Mail List Archive. Unicode Consortium. Retrieved 2008-06-21.
  32. "The Decimal Numeral". Academic Grammar of New Persian. Archived from the original on 2006-06-20. Retrieved 2006-06-19.
  33. Descriptive Grammar of New Persian (archived)
  34. https://www.quora.com/Whats-this-punctuation-%C2%B7-How-can-I-type-it-on-my-computer-What-is-it-used-to-do
  35. https://vlada.gov.hr/vijesti/ministarstvo-gospodarstva-poduzetnistva-i-obrta-dodjeljuje-23-odluke-o-financiranju-za-razvoj-poslovne-infrastrukture/22068
  36. https://vlada.gov.hr/vijesti/europska-komisija-hrvatskoj-odobrila-financiranje-jos-15-prometnih-projekata-u-vrijednosti-vecoj-od-72-milijuna-eura/21881
  37. Diccionario panhispánico de dudas, when writing numbers more than four figures, these three will be grouped into three, starting from the right, and separating the groups by whitespace. (Exceptions: Never written with periods, commas or white separation numbers that refer to years, pages, verses, urban roads, postal codes, legal articles, decrees or laws.)
  38. Röll. "Union Pacific-Eisenbahn". Enzyklopädie des Eisenbahnwesens. Retrieved 26 August 2014., entry "Union Pacific-Eisenbahn", largest numbers in table
  39. Röll. "Bilanz". Enzyklopädie des Eisenbahnwesens. Retrieved 26 August 2014., entry "Bilanz", sums in last table
  40. Steinle, Vicki. "Teaching and Learning about Decimals". Retrieved 20 April 2012.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.