Skip to content
Badr Alghamdi
ToolsLearnReferenceGlossaryField LibraryMethod sheetsWritingAbout
العربية
←Tools

Decimal separator: the same digits, two readings

The same string of digits reads as two different numbers under two separator conventions. Type one and see both readings, the gap between them, and which reading each convention defends.

Live result

The token ١٬٢٣٤ reads as ١٢٣٤ in the first interpretation and ١٫٢٣٤ in the second.
The token ١٬٢٣٤ reads as ١٢٣٤ in the first interpretation and ١٫٢٣٤ in the second.

The same digits in two places

Live chart
The same digits in two placesThe token ١٬٢٣٤ reads ١٢٣٤ in the first interpretation and ١٫٢٣٤ in the second. The two readings sit three decades apart, a ratio of 1000 to 1.100010.001place value1000 to 1١٢٣٤٬Reading A · ١٢٣٤١٢٣٤٬Reading B · ١٫٢٣٤

Try a token

▾

Which reading treats the separator as a decimal point

The other reading treats it as a grouping separator.

Numbering system▾
▾

Authoritative result table

Reading A
Separator role
Grouping separator
Value
١٢٣٤
Exact fraction
12341\frac{1234}{1}11234​
Reading B
Separator role
Decimal separator
Value
١٫٢٣٤
Exact fraction
617500\frac{617}{500}500617​
A minus B
١٢٣٢٫٧٦٦
Absolute difference
١٢٣٢٫٧٦٦
Larger to smaller ratio
10001\frac{1000}{1}11000​
Authoritative result table
ReadingSeparator roleValueExact fraction
Reading AGrouping separator١٢٣٤12341\frac{1234}{1}11234​
Reading BDecimal separator١٫٢٣٤617500\frac{617}{500}500617​
A minus B
١٢٣٢٫٧٦٦
Absolute difference
١٢٣٢٫٧٦٦
Larger to smaller ratio
10001\frac{1000}{1}11000​

Reading trace, boundary, sources, and version

▾

Equation trace

vd=a+b10nv_d=a+\frac{b}{10^n}vd​=a+10nb​
where vdv_dvd​ is the decimal reading, aaa the digits before the separator, bbb the digits after it, and nnn the number of digits after it.
vg=10na+bv_g=10^n a+bvg​=10na+b
where vgv_gvg​ is the grouped reading.
Δ=v1−v2\Delta=v_1-v_2Δ=v1​−v2​
where Δ\DeltaΔ is the difference, v1v_1v1​ the first reading, and v2v_2v2​ the second reading.
  1. Verify that every digit belongs to the declared numbering system.
  2. Build reading A from the role declared by the visitor.
  3. Build reading B from the other declared role.
  4. Subtract the values with integer and exact fraction arithmetic.
  5. Report the absolute difference and the ratio when the smaller value is not zero.

No language inference

The calculator does not infer a separator meaning from the page language or visitor location. You declare the numbering system and each separator role.

Boundary

The page accepts nonnegative digits from one numbering system and one declared separator, requires three digits after a grouping separator, and does not interpret currency, units or outside rounding rules.

Source anchors

  • CLDR number symbol charts. Documents number symbols used in language data.
  • ECMA 402 specification. Describes number internationalization interfaces without assigning one arithmetic meaning to a visual token.
  • Unicode bidirectional algorithm. Describes display ordering when text combines writing directions.

Calculation version

1.0.0

Unicode data version: 17.0.0

The whole record prints. Your browser can save it as a PDF instead of printing it.

This page exposes the results of two declared interpretations. It does not decide which interpretation an outside document intended.

Related

  • Bid levelling: every quote on one landed cost per unitQuotes arrive in different currencies, Incoterms and payment schedules. This puts them all on one landed cost per unit, and names the inputs that move the gap between them.
  • KPI definitions: the same data looks healthy while the operation degradesSupply chain KPIs that look healthy while the operation degrades. Same data, different definition.

Separator readings record

Decimal separator: the same digits, two readings

Accepted inputs

Token and separator roles
١٬٢٣٤
Declared numbering system
Arabic Indic digits
Separator role in reading A
Grouping separator
Separator role in reading B
Decimal separator

Authoritative results

Reading A
١٢٣٤ (12341\frac{1234}{1}11234​)
Reading B
١٫٢٣٤ (617500\frac{617}{500}500617​)
A minus B
١٢٣٢٫٧٦٦ (616383500\frac{616383}{500}500616383​)
Absolute difference
١٢٣٢٫٧٦٦ (616383500\frac{616383}{500}500616383​)
Larger to smaller ratio
10001\frac{1000}{1}11000​

Record fields

Calculation version
1.0.0
Unicode data version
17.0.0
Boundary
The page accepts nonnegative digits from one numbering system and one declared separator, requires three digits after a grouping separator, and does not interpret currency, units or outside rounding rules.
Ordered calculation trace
Verify that every digit belongs to the declared numbering system. Build reading A from the role declared by the visitor. Build reading B from the other declared role. Subtract the values with integer and exact fraction arithmetic. Report the absolute difference and the ratio when the smaller value is not zero.
Source anchors
CLDR number symbol charts; ECMA 402 specification; Unicode bidirectional algorithm

This page exposes the results of two declared interpretations. It does not decide which interpretation an outside document intended.

Calculation version: 1.0.0. Unicode data version: 17.0.0.

Badr Alghamdi · badralghamdi.com/tools/separator-readings

Badr Alghamdi

Request a consultationLinkedInGitHubRSS