Esempio n. 1
0
        static void PrintLineC(double?value, string format, Numeral numeral)
        {
            var output = numeral.Format(value, format);

            Console.WriteLine(
                string.Format("({0}, {1}) => {2}", value, format, output)
                );
        }
Esempio n. 2
0
        static void PrintLineJS(double?value, string format)
        {
            var numeral = new Numeral(value);
            var output  = numeral.Format(format);

            Console.WriteLine(
                string.Format("({0}, {1}) => {2}", value, format, output)
                );
        }