In the example below, comma is the decimal separator.
I have this : 125456,89
I'd like have this : 125.456,89; other exemple : 23456789,89 => 23.456.789,89
Thanks,
See Question&Answers more detail:osIn the example below, comma is the decimal separator.
I have this : 125456,89
I'd like have this : 125.456,89; other exemple : 23456789,89 => 23.456.789,89
Thanks,
See Question&Answers more detail:oslook at this examples
double value = 12345.6789;
Console.WriteLine(value.ToString("C", CultureInfo.CurrentCulture));
Console.WriteLine(value.ToString("C3", CultureInfo.CurrentCulture));
Console.WriteLine(value.ToString("C3",
CultureInfo.CreateSpecificCulture("da-DK")));
// The example displays the following output on a system whose
// current culture is English (United States):
// $12,345.68
// $12,345.679
// kr 12.345,679