Example #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            NumberConversion _conversionService = new NumberConversion();
            string           result             = _conversionService.NumToWords(21656704);

            Console.WriteLine(result);
            long no = _conversionService.WordsToNum("Twenty One Million Six Hundred and Fifty Six Thousand and Seven Hundred and Four");

            Console.WriteLine(no);
        }
Example #2
0
 public void SetUp()
 {
     _conversionService = new NumberConversion();
 }