NumberFormatInfo and Culture

The following code creates a NumberFormatInfo from current cultrue by clone() method.


using System;
using System.Text;
using System.Globalization;
class Sample
{
    public static void Main()
    {
        NumberFormatInfo f = (NumberFormatInfo)CultureInfo.CurrentCulture.NumberFormat.Clone();

    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.