NumberFormatInfo.NumberDecimalSeparator : NumberFormatInfo « System.Globalization « C# / C Sharp by API






NumberFormatInfo.NumberDecimalSeparator

  
using System;
using System.Globalization;

class MainClass
{
  public static void Main() 
  {
    CultureInfo ci = new CultureInfo("nl-BE");

    NumberFormatInfo nfi = ci.NumberFormat;
    Console.WriteLine("Currency symbol: " + nfi.CurrencySymbol);
    Console.WriteLine("Decimal seperator: " + nfi.NumberDecimalSeparator);
  }

}

   
    
  








Related examples in the same category

1.new NumberFormatInfo()
2.NumberFormatInfo.CurrencyGroupSeparator
3.NumberFormatInfo.CurrencySymbol
4.NumberFormatInfo.NumberGroupSeparator