Hi,
check this link:
http://www.freevbcode.com/ShowCode.Asp?ID=616
It doesnt handle decimals so you'll have to modify the code a bit. Also this
code is written in old vb6. I dont think you'll have any problem running it
in vb.net. In case you need a C# version of this code, either you can port
it, or I would recommend making a simple dll through vb.net and using it in
C#.
Regards,
...ab
http://joehacker.blogspot.com
"Aamir Mahmood" <aa**********@gmail.comwrote in message
news:u1**************@TK2MSFTNGP02.phx.gbl...
Hi,
Does anybody know about any library that can convert a decimal into words.
For example:
decimal d = 34251.78;
string s = DecimalToWord(d) ;
's' should look like "Thirty Four Thousand Two Hundred Fifty One And
78/100"
I need this to for my module that prints checks.
I can write it by myself, but I don't want to re-invent the wheel.
Thanks.
AM