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 

54 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
    Replies
    1. May you send me the updated application with all currencies? this will help me in my daily work , Thanks in advance

      Delete
  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. Please Would You Put The Project in Vb.net

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

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

    ReplyDelete
  21. Thank you so much from 3 hours I was searching net/google but now I found and this issue solved for life time thank you again. Jazakom Allah.

    ReplyDelete
  22. Thanks you so much.That this is great help to me.

    ReplyDelete
  23. Thanks Asma for your precious info. and really appreciated.

    ReplyDelete
  24. Great Job. Is very useful

    Really appreciated your work.

    ReplyDelete
  25. How to use this code Ms Asma madam ..Please help

    ReplyDelete
    Replies
    1. This is C# code for Arabic Number conversion. if you just want use, you can download the rar file and search the EXE file and open that.

      Delete
  26. Thanks a lot Ms. Asma, you made many people life great.

    One more favour, if you could do, I have one excel program (Function) written by some Arab in Egypt, I am using using it but he made some error which is not accepted by Saudi guys, could correct that program, or otherwise could you send me this program in terms of function so that I will use it in Excel.

    Your program has both english and arabic words, if you could make 2 functions in excel for same, so that i will use it in Excel instead, using other function which are not giving me correct translation.

    Awaiting for your feedback
    my email :khurrum.iqbal@gmail.com

    ReplyDelete
  27. Thanks. It is very useful application.(:

    ReplyDelete
  28. Do you T-SQL Script for U.A.E. Arabic?

    ReplyDelete
  29. having an issue asma...Example...932200 is getting converted to 922200 in arabic

    ReplyDelete
  30. @srirampaturi, I can help you, We are using T-SQL Code, It's working fine... If you share with me your e-mail address I will e-mail you the T-SQL Code...

    ReplyDelete
  31. dear Asma Qureshi
    can you ad usa dollar currency
    please

    ReplyDelete
  32. Your code is in vb.net working well.but
    Vb6 is not working there is any alternate for vb6

    ReplyDelete
    Replies
    1. yes this will work on vb.net for vb6 i think will be same. you need to copy code only not full form .

      Delete
  33. Replies
    1. I downloaded already but it is not working, Coming a display showing that need windows features NET framework 3.5(includes net 2 and 3) could you pls send me the download link for windows 10 ? Please

      Delete