Why it matters
- Arabic has its own decimal mark (٫) and thousands mark (٬). A page that uses them in one price and the Latin point and comma in the next shows two kinds of figure side by side.
- The Latin comma is a thousands mark in English and a decimal mark in French and German; a reader or program that sees «1,500» cannot always tell whether it is one thousand five hundred or one and a half.
- The Arabic comma (،) separates words and items in a list. «1،500» looks like two numbers, 1 and 500, to a reader and to a program.
Example
<p>سعر المجموعة ١٬٢٥٠٫٥٠ ريال، ولدينا أكثر من ٣,٥٠٠ منتج.</p>
<p>سعر المجموعة ١٬٢٥٠٫٥٠ ريال، ولدينا أكثر من ٣٬٥٠٠ منتج.</p>
How to fix
Choose one style for the whole page, and let the template format every number:
html
<p>سعر المجموعة ١٬٢٥٠٫٥٠ ريال، ولدينا أكثر من ٣٬٥٠٠ منتج.</p>- With Eastern Arabic digits use ٬ and ٫; with Western digits use the comma and the point. Do not combine one style's digits with the other's marks.
- Use
Intl.NumberFormat('ar-SA')or your platform's money format instead of writing the marks by hand. - Never use «،» inside a number.
How we detect
- We read the visible text of the page, not code.
- The
mixedmessage: the page has a number with an Arabic decimal or thousands mark between digits (٬ or ٫), and a number with a Latin one: a comma between groups of three digits, or a point before one to three digits. A version number such as «6.4.2» or a date such as «05.03.2026» is not read as a number. - The
arabic-commamessage: the Arabic comma stands between two digits with no space.