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 

40 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
  22. 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
  23. Thanks you so much.That this is great help to me.

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

    ReplyDelete
  25. Great Job. Is very useful

    Really appreciated your work.

    ReplyDelete
  26. 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
  27. 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