Ejemplo n.º 1
0
        static void test1()
        {
            decimal d1 = 10.1111111111111000m;
            FormatPrividerTest test = new FormatPrividerTest();

            Console.WriteLine(string.Format(test, "{0}", d1));
            Console.WriteLine(d1.ToString("0.00#####"));
            //Console.WriteLine(d1.ToString("", test));
        }
Ejemplo n.º 2
0
        static void test1()
        {
            decimal            d1   = 10.1111111111111000m;
            FormatPrividerTest test = new FormatPrividerTest();

            Console.WriteLine(string.Format(test, "{0}", d1));
            Console.WriteLine(d1.ToString("0.00#####"));
            //Console.WriteLine(d1.ToString("", test));
        }