Wednesday, May 08, 2013

How to Convert Numbers To Arabic Word and English Words ( .NET / C# )

The new version you can see from the link.
Convert numbers to Arabic words 
 In this article, I will talk about converting numbers to words in English and Arabic words. 
I have many request for Convert Numbers To Arabic Word so I have decided to go the long way to build a class to do the conversion to Arabic and also added English language support.
This versions of numbers: one for Number to English text number and one for Arabic number text.
Here is a screen shot of a test project that uses the class:



This article contains code that does a good convert for a decimal value into its equivalent English words, but numbers from my application were actually money amounts, so I needed to add currency names to it (our project is also multinational, so I had to build the string dynamically from the country’s currency).

This was the easy part after I made a few small changes to Justin’s code to fulfill my English-Number-To-Words requirements.
You can DOWNLOAD the full Project from the link below.

.NET Code download


Download EXE file to RUN 

27 comments:

  1. Thank you Ms. Asma Qureshi because your article helped me in my project.
    ---------------------------------
    Semi Senior .Net Developer at Bis-Solutions.

    ReplyDelete
  2. I can't tell how thankful I'm for your great help.. I've been looking everywhere for such solution. Great job and very easy to learn application. Thanks a lot

    ReplyDelete
  3. Jayakumar ChandrasekaranApril 3, 2014 at 3:32 AM

    Very useful for It save my Time.

    ReplyDelete
  4. great work truely.. thx

    ReplyDelete
  5. Ahlaan. How do I use this on my laptop, please? I want my children to write out the date spelling the numbers, in Arabic. I downloaded it and am unsure how to use it, please?

    Thank you. Sincerely, ANMB (USA)

    ReplyDelete
  6. Hi Serwanoori ,

    Download from the 2nd link i added.

    Thanks

    ReplyDelete
  7. Thanks a lot but don't you think the words لا غير shouldn't appear if there are fils present, I think 'La ghair' i.e. 'no change' should only be there when the there are no decimals
    just thought I would tell you, but again I am grateful to you for this

    ReplyDelete
  8. Thank you Asmaa, you're awesome :)

    ReplyDelete
  9. I added new currency, الجنيه المصري :)

    ReplyDelete
  10. Thanks a lot please include the conversion of Omani riyal Also please!!!!!!

    ReplyDelete
  11. شكرا جزيلا
    و ممتن لك جدا
    وأُعطيت ما تتمنين

    ReplyDelete
  12. شكرا لكم التعليق على ما كنت للتو

    ReplyDelete
  13. can you plz add dinars kuwaiti

    and send me email plzzzzz
    zeeshan.naeem89@gmail.com

    ReplyDelete
  14. Great Job. Is very useful for me as i have to make export documents on a regular basis.

    ReplyDelete
  15. Dear Asma Qureshi,

    Can i get the code in Java

    ReplyDelete
  16. Salam
    Is there any VBA code for that.

    ReplyDelete
  17. great job and made my job easier and simpler ...
    we sincerely thank him for this piece of logic

    ReplyDelete
  18. Great Job . Many Thanks......

    ReplyDelete
  19. Please Would You Put The Project in Vb.net

    ReplyDelete
  20. جزاكم الله خيرا

    ReplyDelete
  21. Thanks sis it works like charm (Y)

    ReplyDelete