Numbers To Words Generator - C# Project
Numbers to Words is a C# project that takes a number and converts it to a word.
NOTE: THIS WAS DONE IN 3 HOURS FOR A TEST SO IT IS IN NO WAY SHAPE
OR FORM CLEANED OR OPTIMIZED OR BEST PRACTICES. HOWEVER, THIS PROJECT WAS BUILT DOING TDD (Test Driven Development) SO THERE A LOT OF TESTS TO VALIDATE IT AND SHOWS THE VALUE OF UNIT TESTS.
Example: (1000000 generates the words "One Million")
Project examples:
Ones (Example: 3 returns "Three")
Tens (Example: 14 returns "Fourteen")
Hundreds (Example: 397 returns "Three Hundred Ninety Seven")
Thousands (Example: 7923 returns "Seven Thousand Twenty Three")
Ten Thousands (Example: 22222 returns "Twenty Two Thousand Two Hundred Twenty Two")
Hundred Thousands (Example: 832935 returns "Eight Hundred Thirty Two Thousand Nine Hundre Thirty Five")
Millions (Example: 9882235 returns "Nine Million Eighty Hundred Eighty Two Thousand Two Hundred Thirty Five")
Billions (Example: 1012345678 returns "One Billion Twelve Million Three Hundred Fourty Five Thousand Six Hundred Seventy Eight")
Also supports decimal. but in percent. Have fun.
Source Code : https://github.com/Gigundo/Numbers-to-Words