Jump to content

Template:Eastern arabic numerals/doc

From Wikipedia, the free encyclopedia

The Eastern arabic numerals template is a simple template based on a corespondent Lua Module (Module:Convert to eastern arabic numerals) that converts Western Arabic numerals (i.e. 0 1 2 3 4 5 6 7 8 9) to Eastern Arabic Numerals (i.e. ٩ ٨ ٧ ٦ ٥ ٤ ٣ ٢ ١ ٠).

Examples

[edit]

A short example of its use is:

{{Eastern arabic numerals|14}}
which generates
١٤

Another example:

{{Eastern arabic numerals|3.1415}}
which generates
٣٫١٤١٥