1

Possible Duplicates:
Is there an easy way to create ordinals in C#?
How can I convert an integer into its verbal representation?

Hi All,

How to convert number to arabic word? I want output like: 1: First 2: Second, 201: Two hundred first etc

I have try some code but it words for 1..21,23...31,33...41,43..49,51... and then after it does not work. Is there any special logic for converting 2 in arabic?

Please give me some idea for converting number to word.

Thanks, Naresh

Community
  • 1
  • 1
Naresh Goradara
  • 1,896
  • 2
  • 30
  • 41
  • The word you want isn't "arabic," it's "ordinal" -- http://en.wikipedia.org/wiki/Ordinal_number_%28linguistics%29 – Hut8 Dec 24 '10 at 06:55
  • Someone else suggested this article: http://www.codeproject.com/Articles/112949/Number-To-Word-Arabic-Version as a source of information. – Jonathan Leffler Mar 31 '13 at 04:01

1 Answers1

1

Please check this previous SO Post on how to change numbers into words.

Community
  • 1
  • 1
npinti
  • 51,780
  • 5
  • 72
  • 96