UAD 9 – Numbers To Words

Utility to take a number and convert it to the english text. Not mine this one but lost the original url! If it’s yours let me know 😀

public class NumberToWords
	{
		// Single-digit and small number names
		private string[] _smallNumbers = new string[] { "Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen" };

Leave a Reply

Your email address will not be published. Required fields are marked *