| 1 |
From: Roozbeh Pourmader |
| 2 |
Date: 2005-12-11 |
| 3 |
Subject: Numberings used in Iran |
| 4 |
================================================================================ |
| 5 |
|
| 6 |
These are the other item numbering systems we need for Persian as used |
| 7 |
in Iran and Afghanistan: |
| 8 |
|
| 9 |
1) Abjad-normal: This is simple. There is a fixed list of 28 strings, |
| 10 |
and the numbering is not supported beyond that. |
| 11 |
|
| 12 |
2) Abjad-numerical: This is like a the Greek system. There are different |
| 13 |
strings for 1, 2, 3, ..., 9, 10, 20, ..., 90, 100, 200, ..., 900, and |
| 14 |
1000. When counting, strings are concatenated, so 954 is "900"+"50"+"4". |
| 15 |
This can only count until 1999. |
| 16 |
|
| 17 |
3) Alphabetic: This is like Abjad-normal, but with 32 different strings. |
| 18 |
|
| 19 |
4) Spelled numbers: This is a little hard. It's actually spelling each |
| 20 |
number in letters, the equivalent of "one", "two", "three", ... |
| 21 |
|
| 22 |
Of these, 1, 3, 4 are used in everyday documents (but never 1 and 3 in |
| 23 |
the same document). Case 2 is only used when the publisher is somehow |
| 24 |
old-style and the number of pages in the preamble or the items of a list |
| 25 |
exceeds 28. |
| 26 |
|
| 27 |
I can provide details is you are interested in implementing them. |
| 28 |
Specifically, I have written down the exact rules for case 4 in an |
| 29 |
algorithm-like thing, for numbers less than or equal to 10^{15}-1. |