We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts an开发者_JAVA百科d citations.
Closed 2 years ago.
Improve this questionI need to convert a Number to Arabic Word. Does anyone have a code sample or library for that in C#,
Start with this: http://support.microsoft.com/kb/210586
This converts to english, so change the code to convert to arabic.
If you need actual words back in arabic see this: http://www.codeproject.com/KB/dotnet/Number_to_Arabic_text.aspx
Arabic is different from English in a sense that counting a feminine noun is different than counting a masculine noun. Arabic language uses duals; which affects counting as well. Translating an English "number to words" algorithm would give you a head start but you need to take care of the grammatical differences.
LibStation.com has a Numbers-in-Words .NET libary that supports Arabic. They have a demo application that you can download and fiddle around with. Check out their website for more details.
I used to have the same problem, and after days of searching the internet, I finally came to a very simple, customizable, and easy to learn solution, you can find it at the following link
There is now an api for that https://rapidapi.com/postscripter/api/tafqit same functionality the website tafqit.com is based on
精彩评论