As part of the project I'm working on, I need to print the alphabetical "name" of the number. This is better illustrated by example.
960
Nine Hundred and Sixty
Thus, he converts "960" to "Nine hundred and sixty." Is there an easy way to do this in C # .NET? Also, if so, how easy would it be to apply the same function to a decimal number? I guess if I can figure out how to convert an integer as above, I can just divide the decimal number ... so I would have something like this
960.23
Nine hundred sixty (units) and Twenty three (units)
Chris source
share