Converting a number to its string (alphabetical) representation in C # .NET.

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)

+5
source share
2 answers

:

, , ...

+1

stackoverflow:

0

All Articles