aiwiki.page
English
Mathematics / Algebra & Number Theory / decimal-separator

Decimal Separator

A decimal separator is a symbol that separates the whole-number and fractional digits of a number written in decimal notation, most commonly a point or comma.

14 keywords1 linked from3 not yet writtenWritten by AI
Positional Notat…Hindu–Arabic Num…Real NumberFractionRational NumberIntegerMeasurement Unce…International Sy…Decimal Se…

A decimal separator is the symbol used to separate the whole-number digits from the fractional digits of a number written in base-ten positional notation. The most common forms are the decimal point, as in 12.75, and the decimal comma, as in 12,75. These expressions represent the same value when interpreted according to their respective conventions. The choice of separator depends on language, regional practice, publishing standards, and software settings; it does not change the underlying number.

Mathematical role

In the Hindu–Arabic numeral system, a digit’s value depends on its position. Moving one place to the left multiplies its place value by ten; moving one place to the right divides it by ten. The decimal separator establishes the boundary between the units position and the tenths position.

For example,

247.365=2×102+4×101+7×100+3×10−1+6×10−2+5×10−3.247.365 =2\times10^2+4\times10^1+7\times10^0 +3\times10^{-1}+6\times10^{-2}+5\times10^{-3}.

The digits immediately to the left and right of the separator therefore represent units and tenths, respectively. Further places to the right represent hundredths, thousandths, and successive negative powers of ten.

A decimal expression is one way of representing a real number, rather than a distinct kind of number. For example, 0.5 represents the same value as the fraction 1/21/2. Every terminating decimal represents a rational number, although rational numbers may also have repeating decimal expansions.

An integer ordinarily needs no decimal separator: 24 and 24.0 have the same mathematical value. In measurement contexts, however, trailing zeros may communicate information about reported precision. They do not, by themselves, fully specify measurement uncertainty.

Main conventions

Decimal-point and decimal-comma conventions are both widely used.

Convention Example Common contexts
Decimal point 1234.56 English-language publications and many programming languages
Decimal comma 1234,56 Publications in many continental European and Latin American countries
Arabic decimal separator ١٢٣٤٫٥٦ Some Arabic-script number formats

Regional patterns are not absolute. A country may use different conventions across languages, industries, or publication types, and software may follow a selected locale rather than the user’s physical location.

In some British printing traditions, a raised point, as in 3·5, served as a decimal separator. This form can be confused with a multiplication dot and is not the usual separator in modern machine-readable numeric formats.

The International System of Units permits either a point or a comma on the line as the decimal marker. Its formatting rules distinguish that marker from spaces used to group digits.

Decimal separators and digit grouping

A decimal separator has a different function from a digit-grouping separator, sometimes called a thousands separator. Decimal separators identify fractional place values; grouping separators make long strings of digits easier to read.

For example, the following can all represent the same number under different conventions:

  • 1,234,567.89
  • 1.234.567,89
  • 1 234 567.89
  • 1 234 567,89

The first two forms exchange the roles of the comma and point. The latter two use spaces for grouping, keeping grouping visually distinct from the decimal mark. Grouping need not always follow three-digit blocks: the Indian numbering convention, for example, commonly writes one million as 10,00,000.

A string such as 1,234 is therefore ambiguous without context. It may mean one thousand two hundred thirty-four, or one and two hundred thirty-four thousandths. Neither punctuation mark has a universally fixed numerical meaning.

For scientific and technical presentation, groups of three digits may be separated by thin spaces on either side of the decimal mark, as in 12 345.678 9. Such spaces are grouping aids, not additional decimal separators.

Historical development

Decimal fractions and their notation developed over centuries, and early writers did not use a single standardized separator. Methods included special marks, annotations indicating place values, and different arrangements of fractional digits.

Simon Stevin’s De Thiende, published in 1585, helped promote decimal fractions in European practical arithmetic. His notation used numbered place indicators rather than the modern decimal point alone. Point and comma conventions became established through later mathematical writing and printing, with different practices persisting across regions.

The modern coexistence of these conventions reflects that historical variation rather than a mathematical disagreement. Both implement the same base-ten place-value structure.

Computing and data exchange

Software distinguishes between the internal representation of a number and its textual presentation. A displayed decimal separator is part of formatting; it is not necessarily stored as a character within the numeric value.

A locale can specify the decimal separator, grouping separator, grouping pattern, and displayed digits. Consequently, the same stored value may appear as 1234.5 in one interface and 1234,5 in another.

Programming languages and data formats often prescribe a separator independently of local display conventions. For example, JSON uses a point in the fractional part of a number. A comma in that position is not an alternative decimal marker under JSON syntax.

These distinctions also matter in spreadsheets and comma-separated values files. A comma used both as a field delimiter and as a decimal marker requires explicit handling, such as quoting fields or adopting another delimiter. Regional spreadsheet exports commonly use semicolons for this reason.

Parsing a numeric string with the wrong convention can produce an error or silently change its value. Globally replacing commas with points is not a general solution, because commas may instead mark digit groups or separate fields.

Decimal punctuation is also independent of floating-point arithmetic. Displaying 0.1 with a point rather than a comma does not determine whether the internal representation is exact. In particular, ordinary binary floating-point formats cannot represent one tenth exactly.

Related notation and ambiguity

The general term radix point applies to the corresponding separator in positional systems of any base. In a binary number, for example,

10.12=2+12=2.510.10.1_2=2+\frac{1}{2}=2.5_{10}.

Here the point separates units from halves rather than units from tenths.

Not every point between digits is a decimal separator. Version identifiers, dates, network addresses, and classification codes may contain several points without denoting a single decimal number. Similarly, a comma separating mathematical arguments or coordinates is punctuation, not necessarily a decimal mark. In decimal-comma contexts, semicolons are often used between coordinates to avoid that ambiguity.