- - - --

Tuesday, September 20, 2011

Re: [p-c] Numbers as Order Strings in Persian

Vafa: Python's integer has no limit, the only limit is system resources (specially RAM)
(type "int" has limit, but there is type "long" without limit, and python itself converts int to long if necessery, and you have not to take care of that absolutely. That's because I say no limit)
Anyway I meant you to see the algorithm (not the syntax).

On Tue, Sep 20, 2011 at 6:55 PM, VAFA KHALIGHI <vafaklg@gmail.com> wrote:
Thanks for sharing your code. I have implemented it in XePersian which uses TeX macro language and there is no way that you can compare limited TeX macro language with python or C. TeX is not even a programming language; it is just a typesetting language. My code can convert integers between 0 and 999,999,999. What about yours?


On Wed, Sep 21, 2011 at 12:19 AM, Saeed Rasooli <saeed.gnu@gmail.com> wrote:
I previously wrote Python and C++ codes to do that conversion (see attached file)


On Tue, Sep 20, 2011 at 5:19 PM, Milad khajavi <khajavi@gmail.com> wrote:
Just remember that اول is Arabic word that entered in Persian language (واژهٔ دخیل).
In Arabic: اول، ثانی، ثالث، رابع
In Persian: یکم، دوم، سوم، چهارم
Because of the use of 'Arabic words in Persian' (واژگان دخیل عربی در فارسی) is common, numerating with اول، دوم، سوم is also true.

On Tue, Sep 20, 2011 at 4:34 PM, VAFA KHALIGHI <vafaklg@gmail.com> wrote:
ُThanks. I decided to go with اول for First and for numbers like 101, صد و یکم.


On Tue, Sep 20, 2011 at 9:10 PM, Milad khajavi <khajavi@gmail.com> wrote:

On Tue, Sep 20, 2011 at 3:02 PM, VAFA KHALIGHI <vafaklg@gmail.com> wrote:
Which one is right?

First => اول or یکم
Both of them is true.
 
101th => صد و یکم or صد و اول
 صد و یکم 

--
http://groups.google.com/group/persian-computing



--
Milad Khajavi
http://lincafe.wordpress.com
I tried to change the world, but I couldn't find the source code.





--
Milad Khajavi
http://lincafe.wordpress.com
I tried to change the world, but I couldn't find the source code.




--
http://groups.google.com/group/persian-computing

0 comments:

Post a Comment