Get numeric formatting info from a CultureInfo
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);
}
}
Output Currency symbol:
Decimal seperator: ,
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|