Skip to content

Simple class method that converts a number to the actual words of the number.

License

Notifications You must be signed in to change notification settings

IceBreakerG/NumbersToWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumbersToWords

Simple class that converts a number to its grammatical representation (ie. the actual words of the number. Ex: 1784 = One Thousand Seven Hundred Eighty Four).

Note: This is written in C# and .NET Core 2.0

Usage Instructions

Clone the repository and open the solution in Visual Studio. Run the project and enter a number (ie. 178). You will get the output of the number conversion in the console window.

To use this in your own project, simply copy the NumberToWords.cs file into your project and make a reference to the namespace "NumbersToWords".

If you would like to set your output to include dollars and cents (ie. 140.19 = One Hundred Forty Dollars and 19/100), set the includeDollarsAndCents parameter to true.

About

Simple class method that converts a number to the actual words of the number.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages