Separador decimal

<< Click to Display Table of Contents >>

Navigation:  Outros >

Separador decimal

Previous pageReturn to chapter overviewNext page

    public static char DecimalSeparator()

    {

        char c;

        System.Globalization.CultureInfo ci = System.Globalization.CultureInfo.CurrentUICulture;

        System.Globalization.NumberFormatInfo ni = (System.Globalization.NumberFormatInfo)

        ci.NumberFormat.Clone();

        c = (ni.NumberDecimalSeparator.ToCharArray())[0];

        return c;

    }