|
GIS
Regex Trainer
C# - Numbers written as Words
TCP/IP with C#
Select your language:
|
 |
Numbers written as Words with C#
The C# program converts the numbers to their text form (in German).
Sample:
| 123 | einhundertdreiundzwanzig |
| 42 | zweiundvierzig |
| 120000000001 | einhundertzwanzigmilliardeneins |
| 123123123 | einhundertdreiundzwanzigmillioneneinhundert dreiundzwanzigtausendeinhundertdreiundzwanzig |
The sources are available for download. They are organised in two projects, a class library and a sample program.
You can use the class library in your own program using the following code-snipett:
ConvertToNumber c = new ConvertToNumber(123456);
string s= c.ToString());
|
 |