A decimal point is a symbol separating those digits representing integer powers of a base (usually base 10) on the left, and those representing fractional powers of a base (the base raised to a negative number) on the right. For example, in , the 3 to the left of the decimal point corresponds to , while the 1 to the right of the decimal point corresponds to .
The decimal point is generally omitted for integers. However, Mathematica will use the decimal point at the end of an integer to indicate the value has been computed using floating-point arithmetic and loss of precision is possible. For example,
(1/2)^(-1) gives “2” as an answer but
.5^(-1) gives “2.” for the answer. Even more pointedly,
1 + 1 gives “2” as the answer but
1. + 1. gives “2.” as the answer.
In the United States, the decimal point is usually aligned with the bottom of the digit glyphs, while in the United Kingdom it is usually centered (and is distinguished from the central dot multiplication operator purely on spacing). In Europe, a comma is used instead, so our example would be written .
|Date of creation||2013-03-22 17:23:33|
|Last modified on||2013-03-22 17:23:33|
|Last modified by||PrimeFan (13766)|