DecimalDecimal, also called denary, is the base 10 numeral system, which uses the symbols 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 (called digits) together with the decimal point and the sign symbols + (plus) and − (minus) to represent numbers. Decimal is the principal numeral system used by humans (though some cultures do or did use other number systems). This is almost certainly because humans have ten fingers; digit is also the anatomical term referring to fingers and toes. The set of symbols for the digits is called Arabic numerals by Europeans and Hindi numerals by Arabs, each term referring to the people that the users of the term got it from.\n Computers often use other numeral systems (notably binary, octal, and hexadecimal), because it is slightly more efficient to implement these power-of-two systems electronically. Decimal numerals can be encoded for computers using binary-coded decimal or more efficient schemes.
.4 2 8 5 7 1 4 ...\n --------------------\n 7 ) 3.0 0 0 0 0 0 0 0 \n 2 8 30/7 = 4 r 2\n -----\n 2 0\n 1 4 20/7 = 2 r 6\n -----\n 6 0\n 5 6 60/7 = 8 r 4\n -----\n 4 0\n 3 5 40/7 = 5 r 5\n -----\n 5 0\n 4 9 50/7 = 7 r 1\n -----\n 1 0\n 7 10/7 = 1 r 3\n -----\n 3 0\n 2 8 30/7 = 4 r 2 (again)\n -----\n 2 0\n etcThe converse to this observation is that every recurring decimal represents a rational number p/q. This is a consequence of the fact the recurring part of a decimal representation is, in fact, an infinite geometric series which will sum to a rational number. For instance,\n: Decimal representation of the real numbersEvery real number has a representation as a decimal fraction. The representation is unique, except for rational numbers which can be written as p/(2a5b) (i.e. the only prime factors in denominator are 2 and 5). In all such cases there is a terminating decimal representation. For instance 1/1=1, −1/2=−0.5, 3/5=0.6, 3/25=0.12 and 1306/1250=1.0448. Such numbers are the only real numbers which don't have a unique decimal representation, as they can also be written as a representation that has a recurring 9. For instance 1=0.99999..., −1/2=−0.499999..., etc. Rational numbers p/q with prime factors in the denominator other than 2 and 5 (when reduced to simplest terms) have a unique recurring decimal representation. This leaves the irrational numbers. They also have unique infinite decimal representation, and can be characterised as the numbers whose decimal representations neither terminate nor recur. Naturally, the same trichotomy holds for other base-n numeral systems:\n* Terminating representation: rational where the denominator divides some nk\n* Recurring representation: other rational\n* Non-terminating, non-recurring representation: irrational\nand a version of this even holds for irrational-base numeration systems, such as golden mean base representation.See also\n* Algorism\n* Decimal point\n* Dewey Decimal System\n* Floating point\n* Numeral system. \nExternal links\n* Decimal arithmetic FAQ\n* Tests: Decimal Place Value Sums Fractions |
||||
"Copy from one, it's plagiarism; copy from two, it's research." - Wilson Mizner (1876-1933) |
